mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 21:58:36 +00:00
Ref #7456 - Creates a custom action in the language server that applies all auto-fixes for a given file. - Updates VS Code to use the custom action with a command to apply fixes for the currently active text editor.
989 B
989 B
⚓ Oxc
The Oxidation Compiler is creating a suite of high-performance tools for JavaScript and TypeScript.
Installation
Any of the below options can be used to install the extension.
- Install through the VS Code extensions marketplace by searching for
Oxc. Verify the identifier isoxc.oxc-vscode. - From within VS Code, open the Quick Open (Ctrl+P or Cmd+P on macOS) and execute
ext install oxc.oxc-vscode.
Oxlint
This is the linter for Oxc. The currently supported features are listed below.
- Highlighting for warnings or errors identified by Oxlint
- Quick fixes to fix a warning or error when possible
- JSON schema validation for supported Oxlint configuration files (does not include ESLint configuration files)
- Command to fix all auto-fixable content within the current text editor.
- Support for
source.fixAll.oxcas a code action provider. Configure this in your settingseditor.codeActionsOnSaveto automatically apply fixes when saving the file.