Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GoHTNew to Visual Studio Code? Get it now.
GoHT

GoHT

Michael Stack

|
25 installs
| (0) | Free
Enables GoHT language support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GoHT for VSCode

GoHT

This extension provides IDE features and syntax highlighting for the .goht extension from GoHT. It also provides language server support for both GoHT and Go.

Features

  • Syntax Highlighting
  • Language Server Support for GoHT and Go

Requirements

LSPs

GoPls: You should install the Go extension into VSCode which will install this LSP as well. You may also manually install it by running:

go install golang.org/x/tools/gopls@latest

GoHT: You should install the latest version of GoHT which will include the LSP. You may manually install it by running:

go install github.com/stackus/goht/cmd/goht@latest

Note

Both LSPs must be in your PATH for this extension to work. You may need to include the ~/go/bin directory in your PATH if it is not already there.

Configuration

There is no required configuration for this extension. However, it does provide some settings to help with debugging problems.

Known Issues

  • Some syntax highlighting is not quite correct.
  • Odd "textDocument/codeAction" error on startup from time to time.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft