From 430768064ff59492d6118b99e6fbb205e6992066 Mon Sep 17 00:00:00 2001 From: Joel Daniel Rico Date: Fri, 19 Jul 2024 07:56:22 -0700 Subject: [PATCH] remove rust-analyzer.openFAQ --- editors/code/package.json | 8 -------- editors/code/src/commands.ts | 10 ---------- editors/code/src/main.ts | 1 - 3 files changed, 19 deletions(-) diff --git a/editors/code/package.json b/editors/code/package.json index 86f7f030c54e..b1e6e4837ab4 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -310,11 +310,6 @@ "command": "rust-analyzer.openWalkthrough", "title": "Open Walkthrough", "category": "rust-analyzer" - }, - { - "command": "rust-analyzer.openFAQ", - "title": "Open FAQ", - "category": "rust-analyzer" } ], "keybindings": [ @@ -3221,9 +3216,6 @@ }, { "command": "rust-analyzer.openWalkthrough" - }, - { - "command": "rust-analyzer.openFAQ" } ], "editor/context": [ diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 72ca2923dda1..621b9695786a 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -1518,13 +1518,3 @@ export function openWalkthrough(_: Ctx): Cmd { ); }; } - -export function openFAQ(_: Ctx): Cmd { - return async () => { - await vscode.commands.executeCommand( - "workbench.action.openWalkthrough", - "rust-lang.rust-analyzer#faq", - true, - ); - }; -} diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index a23f3656e3bf..db1c377b46a2 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -179,7 +179,6 @@ function createCommands(): Record { toggleCheckOnSave: { enabled: commands.toggleCheckOnSave }, toggleLSPLogs: { enabled: commands.toggleLSPLogs }, openWalkthrough: { enabled: commands.openWalkthrough }, - openFAQ: { enabled: commands.openFAQ }, // Internal commands which are invoked by the server. applyActionGroup: { enabled: commands.applyActionGroup }, applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand },