https://github.com/stackus/goht-vscode
GoHT VSCode Extension
https://github.com/stackus/goht-vscode
Last synced: 5 days ago
JSON representation
GoHT VSCode Extension
- Host: GitHub
- URL: https://github.com/stackus/goht-vscode
- Owner: stackus
- License: mit
- Created: 2024-01-13T00:33:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T20:53:58.000Z (almost 2 years ago)
- Last Synced: 2024-04-29T02:48:36.098Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GoHT for VSCode

This extension provides IDE features and syntax highlighting for the .goht extension from [GoHT](https://github.com/stackus/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:
```bash
go install golang.org/x/tools/gopls@latest
```
**GoHT**: You should install the latest version of [GoHT](https://github.com/stackus/goht) which will include the LSP. You may manually install it by running:
```bash
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.