diff --git a/package.json b/package.json index bab267bb..77a7a534 100644 --- a/package.json +++ b/package.json @@ -193,6 +193,16 @@ }, "default": [], "description": "The arguments to pass to the LSP executable" + }, + "bazel.trace.server": { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off", + "description": "Trace the communication between VS Code and Bazel LSP server (language server)." } } }, diff --git a/src/extension/extension.ts b/src/extension/extension.ts index b3897222..c56733f3 100644 --- a/src/extension/extension.ts +++ b/src/extension/extension.ts @@ -161,7 +161,7 @@ function createLsp(config: vscode.WorkspaceConfiguration) { documentSelector: [{ scheme: "file", language: "starlark" }], }; - return new LanguageClient("Bazel LSP Client", serverOptions, clientOptions); + return new LanguageClient("bazel", "Bazel LSP Client", serverOptions, clientOptions) } /**