Skip to main content
Version: 0.12.2

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

Install with lazy.nvim:

{ "avifenesh/agnix.nvim" }

Then in your config:

require('agnix').setup()

The plugin auto-detects and downloads the agnix-lsp binary. For full setup instructions, see the agnix.nvim 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.