VS Code Extension
Install from Source
cd editors/vscode
npm install
npm run compile
Press F5 in VS Code to launch with the extension loaded.
Features
- Syntax highlighting for
.hglfiles - Keyword, type, builtin, string, number, comment coloring
- Auto-closing brackets and quotes
- LSP integration (hover docs + completion)
LSP Setup
Make sure hgl is in your PATH:
cargo install --path .
The extension automatically starts hgl lsp when you open a .hgl file.