about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoel Daniel Rico <joeldanielrico@gmail.com>2024-07-19 07:56:22 -0700
committerJoel Daniel Rico <joeldanielrico@gmail.com>2024-07-19 08:11:16 -0700
commit346210bb1b413157b1a109c5ec23c5e7041c20a4 (patch)
treee0dd6e3d0e18bc11db6b01024c76b6a1d9719c92
parente6e8bd299ddbd2fc2804ed2462572859d7bb3727 (diff)
downloadrust-346210bb1b413157b1a109c5ec23c5e7041c20a4.tar.gz
rust-346210bb1b413157b1a109c5ec23c5e7041c20a4.zip
remove rust-analyzer.openFAQ
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json8
-rw-r--r--src/tools/rust-analyzer/editors/code/src/commands.ts10
-rw-r--r--src/tools/rust-analyzer/editors/code/src/main.ts1
3 files changed, 0 insertions, 19 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index 86f7f030c54..b1e6e4837ab 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/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/src/tools/rust-analyzer/editors/code/src/commands.ts b/src/tools/rust-analyzer/editors/code/src/commands.ts
index 72ca2923dda..621b9695786 100644
--- a/src/tools/rust-analyzer/editors/code/src/commands.ts
+++ b/src/tools/rust-analyzer/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/src/tools/rust-analyzer/editors/code/src/main.ts b/src/tools/rust-analyzer/editors/code/src/main.ts
index a23f3656e3b..db1c377b46a 100644
--- a/src/tools/rust-analyzer/editors/code/src/main.ts
+++ b/src/tools/rust-analyzer/editors/code/src/main.ts
@@ -179,7 +179,6 @@ function createCommands(): Record<string, CommandFactory> {
         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 },