Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions editors/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ To enable it, use a VSCode `settings.json` like:

Following configurations are supported via `settings.json` and affect the window editor:

| Key | Default Value | Possible Values | Description |
| ------------------- | ------------- | -------------------------------- | ------------------------------------------------------------------------------------------------ |
| `oxc.enable` | `true` | `true` \| `false` | Enable oxc language server |
| `oxc.path.node` | - | `<string>` | Path to a Node.js binary. Will be added to the language server `PATH` environment. |
| `oxc.path.oxfmt` | - | `<string>` | Path to an Oxc formatter binary. Will be used by the language server instead of the bundled one. |
| `oxc.path.oxlint` | - | `<string>` | Path to an Oxc linter binary. Will be used by the language server instead of the bundled one. |
| `oxc.path.tsgolint` | - | `<string>` | Path to an Oxc tsgolint binary. Will be used by the language server instead of the bundled one. |
| `oxc.trace.server` | `off` | `off` \| `messages` \| `verbose` | Traces the communication between VS Code and the language server. |
| Deprecated | | | |
| `oxc.path.server` | - | `<string>` | Path to Oxc language server binary. Mostly for testing the language server. |
| Key | Default Value | Possible Values | Description |
| ------------------- | ------------- | -------------------------------- | --------------------------------------------------------------------------------------- |
| `oxc.enable` | `true` | `true` \| `false` | Enable oxc language server |
| `oxc.path.node` | - | `<string>` | Path to a Node.js binary. Will be added to the `oxfmt` and `oxlint` `PATH` environment. |
| `oxc.path.oxfmt` | - | `<string>` | Path to an Oxc formatter binary. Default: auto detection in `node_modules`. |
| `oxc.path.oxlint` | - | `<string>` | Path to an Oxc linter binary. Default: auto detection in `node_modules`. |
| `oxc.path.tsgolint` | - | `<string>` | Path to an Oxc tsgolint binary. Default: auto detection from `oxlint`. |
| `oxc.trace.server` | `off` | `off` \| `messages` \| `verbose` | Traces the communication between VS Code and the language server. |
| Deprecated | | | |
| `oxc.path.server` | - | `<string>` | Path to Oxc language server binary. Mostly for testing the language server. |

### Workspace Configuration

Expand Down
8 changes: 4 additions & 4 deletions editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,22 +239,22 @@
"oxc.path.oxlint": {
"type": "string",
"scope": "window",
"markdownDescription": "Path to an Oxc linter binary. Will be used by the language server instead of the bundled one."
"markdownDescription": "Path to an Oxc linter binary. Default: auto detection in `node_modules`."
},
"oxc.path.oxfmt": {
"type": "string",
"scope": "window",
"markdownDescription": "Path to an Oxc formatter binary. Will be used by the language server instead of the bundled one."
"markdownDescription": "Path to an Oxc formatter binary. Default: auto detection in `node_modules`."
},
"oxc.path.tsgolint": {
"type": "string",
"scope": "window",
"markdownDescription": "Path to an Oxc tsgolint binary. Will be used by the language server instead of the bundled one."
"markdownDescription": "Path to an Oxc tsgolint binary. Default: auto detection from `oxlint`."
},
"oxc.path.node": {
"type": "string",
"scope": "window",
"markdownDescription": "Path to a Node.js binary. Will be added to the language server `PATH` environment."
"markdownDescription": "Path to a Node.js binary. Will be added to the `oxfmt` and `oxlint` `PATH` environment."
}
}
},
Expand Down
Loading