Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/main.ts')
| -rw-r--r-- | editors/code/src/main.ts | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 0af58fd781..ff67bb7bd5 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -177,12 +177,13 @@ function createCommands(): Record<string, CommandFactory> { serverVersion: { enabled: commands.serverVersion }, viewMemoryLayout: { enabled: commands.viewMemoryLayout }, toggleCheckOnSave: { enabled: commands.toggleCheckOnSave }, + toggleLSPLogs: { enabled: commands.toggleLSPLogs }, // Internal commands which are invoked by the server. applyActionGroup: { enabled: commands.applyActionGroup }, applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand }, debugSingle: { enabled: commands.debugSingle }, gotoLocation: { enabled: commands.gotoLocation }, - linkToCommand: { enabled: commands.linkToCommand }, + hoverRefCommandProxy: { enabled: commands.hoverRefCommandProxy }, resolveCodeAction: { enabled: commands.resolveCodeAction }, runSingle: { enabled: commands.runSingle }, showReferences: { enabled: commands.showReferences }, @@ -203,14 +204,4 @@ function checkConflictingExtensions() { ) .then(() => {}, console.error); } - - if (vscode.extensions.getExtension("panicbit.cargo")) { - vscode.window - .showWarningMessage( - `You have both the rust-analyzer (rust-lang.rust-analyzer) and Cargo (panicbit.cargo) plugins enabled, ` + - 'you can disable it or set {"cargo.automaticCheck": false} in settings.json to avoid invoking cargo twice', - "Got it", - ) - .then(() => {}, console.error); - } } |