For AI agents: the complete documentation index is available at https://rslint.rs/llms.txt, the full documentation bundle is available at https://rslint.rs/llms-full.txt, and this page is available as Markdown at https://rslint.rs/guide/vscode-extension.md.
close

VSCode Extension

Editor integration for Rslint lives in the unified Rstack extension, which also provides Rstest testing and rs fmt formatting.

Install rstack.rstack from the VS Code Marketplace or, for Cursor, Trae, VSCodium, and other VS Code forks, from Open VSX.

The extension ships no tool binaries. It resolves @rslint/core from your project, so the editor runs the same version as your CLI and picks up your rslint.config.ts automatically. Rslint diagnostics are provided by the project's language server: real-time diagnostics as you type, code actions for auto-fixable rules, auto-fix on save, and multi-workspace support.

The standalone

rstack.rslint extension is retired

rstack.rslint shipped its final release and no longer receives updates. Uninstall or disable it so only one copy of Rslint runs.

Settings

SettingDefaultDescription
rstack.rslint.enabletrueEnable or disable the Rslint integration.
rstack.rslint.corePath—Path to an @rslint/core package directory or its package.json; overrides automatic resolution.
rstack.rslint.trace.serveroffLSP trace level: off, messages, or verbose.

Auto-fix on Save

To automatically fix lint issues when you save a file, add the following to your VS Code settings (.vscode/settings.json):

{
  "editor.codeActionsOnSave": {
    "source.fixAll.rslint": "explicit"
  }
}
ValueBehavior
"explicit"Fix on manual save (Ctrl+S / Cmd+S) only — recommended
"always"Fix on every save, including auto-save
"never"Disable auto-fix on save