Auto merge of #17637 - jjoeldaniel:master, r=Veykril

internal: remove rust-analyzer.openFAQ

Removed no longer functional `rust-analyzer.openFAQ` command created in #17508
This commit is contained in:
bors 2024-07-19 15:34:43 +00:00
commit 9b1b29ca7a
3 changed files with 0 additions and 14 deletions

View file

@ -3216,9 +3216,6 @@
},
{
"command": "rust-analyzer.openWalkthrough"
},
{
"command": "rust-analyzer.openFAQ"
}
],
"editor/context": [

View file

@ -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,
);
};
}

View file

@ -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 },