Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 .hgl files
  • 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.