mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(editor/vscode): Update language client id to fix the resolution of the oxc.trace.server setting (#7181)
Currently `oxc-vscode.trace.server` needs to be used to enable trace logging for the language server. This fixes it so that `oxc.trace.server` can be used. I can't find any guidance on what should be used for the language client id. The VS Code ESLint plugin uses "ESLint", so I think this change should be fine. Ref https://github.com/oxc-project/oxc/issues/7136.
This commit is contained in:
parent
9d6cc9d3af
commit
eea8879642
1 changed files with 0 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ import { Executable, LanguageClient, LanguageClientOptions, ServerOptions } from
|
|||
import { join } from 'node:path';
|
||||
import { ConfigService } from './config';
|
||||
|
||||
const languageClientId = 'oxc-vscode';
|
||||
const languageClientName = 'oxc';
|
||||
const outputChannelName = 'Oxc';
|
||||
const traceOutputChannelName = 'Oxc (Trace)';
|
||||
|
|
@ -168,7 +167,6 @@ export async function activate(context: ExtensionContext) {
|
|||
|
||||
// Create the language client and start the client.
|
||||
client = new LanguageClient(
|
||||
languageClientId,
|
||||
languageClientName,
|
||||
serverOptions,
|
||||
clientOptions,
|
||||
|
|
|
|||
Loading…
Reference in a new issue