Skip to content

Commit

Permalink
support clangd.trace.server
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Nov 4, 2024
1 parent 0c2d40d commit 9464e4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,16 @@
},
"description": "Arguments for clangd server."
},
"clangd.trace": {
"type": "string",
"description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
"clangd.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Includes the communication between VS Code and the clangd language server in the output panel."
},
"clangd.semanticHighlighting": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion src/clangd-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class ClangdContext implements vscode.Disposable {
},
};

this.client = new ClangdLanguageClient('Clang Language Server',
this.client = new ClangdLanguageClient('clangd', 'Clang Language Server',
serverOptions, clientOptions);
this.client.clientOptions.errorHandler =
this.client.createDefaultErrorHandler(
Expand Down

0 comments on commit 9464e4e

Please sign in to comment.