For AI agents: the complete documentation index is available at https://docs.gage.io/llms.txt, the full documentation bundle is available at https://docs.gage.io/llms-full.txt, and this page is available as Markdown at https://docs.gage.io/scanner-dev/lsp.md.

Gage language server

To install the Gage LSP (language support for Gage scanners), install the gage-lsp crate using cargo.

cargo install --path gage-lsp

To setup Gage with your IDE, refer to the section below.

VS Code

Install the Rune extension for VS Code.

Set the rune.server.path VS Code config to the full path to gage-lsp (installed under ~/.cargo/bin by default).

{
  "rune.server.path": "/home/user/.cargo/bin/gage-lsp"
}

Reload VS Code extensions. Verify that the language server works by opening a Rune file (.rn extension) and confirming that there are no reported problems for missing Gage functions.