Setup editors
Editor extensions use oxlint --lsp from your project, so oxlint must be installed locally.
See Quickstart to install Oxlint.
Supported editors
- VS Code (and Cursor, etc.)
- Zed
- JetBrains
- coc.nvim
- Other editors
VS Code
Install
Download the official Oxc VS Code extension from:
The extension is compatible with other VS Code-based editors, including Cursor.
Team setup
- Recommend the extension for contributors:
.vscode/extensions.json:
json
{
"recommendations": ["oxc.oxc-vscode"]
}- Enable fix-on-save in
.vscode/settings.json:
json
{
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "always"
}
}- Enable type-aware linting in
.vscode/settings.json:
json
{
"oxc.typeAware": true
}You also need to ensure oxlint-tsgolint is installed in your project. See the type-aware linting docs for more details.
Reference
Zed
Install
Reference
JetBrains
IntelliJ IDEA and WebStorm.
Install
Reference
coc.nvim
Install
vim
:CocInstall coc-oxcReference
Other editors
For editors with LSP support (Neovim, Emacs, Helix, Sublime), configure:
bash
oxlint --lsp