Skip to main content
Version: 0.10.1

Editor Integration

agnix ships an LSP server (agnix-lsp) that provides real-time diagnostics, code actions, and hover documentation in your editor.

Capabilities

  • Diagnostics on open, save, and change
  • Code actions for fixable findings
  • Hover details for rule explanations

VS Code

Install the extension from the VS Code Marketplace.

The extension bundles the LSP server. No additional setup needed.

For manual configuration, see the VS Code extension README.

JetBrains (IntelliJ, WebStorm, etc.)

Install from the JetBrains Plugin Marketplace.

Configure the agnix-lsp binary path in plugin settings if not auto-detected.

For details, see the JetBrains plugin README.

Neovim

Use the Neovim plugin with your LSP client (nvim-lspconfig, mason, etc.):

-- With nvim-lspconfig
require('lspconfig').agnix.setup{}

Install the LSP binary:

cargo install agnix-lsp

For full setup instructions, see the Neovim plugin README.

Zed

Install the agnix extension from the Zed extension marketplace, or see the Zed extension README.

Other editors

Any editor with LSP support can use agnix-lsp. Point your LSP client to the binary:

cargo install agnix-lsp
agnix-lsp

For the full editor support matrix, see docs/EDITOR-SETUP.md.