This extension provides syntax highlighting and basic supports (diagnostics & code completion) for the Erg programming language.
You need to have the Erg language server installed on your system.
To install it, you need to install or build Erg with --features els.
The extension installs the Erg toolchain automatically. If you see a message "Erg is not installed.", press the "Install" button.
After installing, you should set PATH to the directory stores the erg executable and ERG_PATH to the .erg directory.
Usually, the .erg directory is located in ~ and the erg executable is located in ~/.erg/bin.
Building from source code is recommended if you want to have the latest complete ELS experience.
vscode-erg.ergpath.path: Path to the.ergdirectory. Default is~/.erg.vscode-erg.executablePath: Path to theergexecutable. Default iserg.vscode-erg.checkForUpdates: Check for updates on startup. Default istrue.
vscode-erg.lsp.inlayHints: Enable inlay hints. Default istrue.vscode-erg.lsp.semanticTokens: Enable semantic tokens. Default istrue.vscode-erg.lsp.hover: Enable hover. Default istrue.vscode-erg.lsp.smartCompletion: Enable smart completion (see ELS features). Default istrue.vscode-erg.lsp.lint: Enable linting. Default istrue.
npm install -g vsce
npm install
npx vsce package