Skip to content

Commit

Permalink
Auto merge of #17637 - jjoeldaniel:master, r=Veykril
Browse files Browse the repository at this point in the history
internal: remove rust-analyzer.openFAQ

Removed no longer functional `rust-analyzer.openFAQ` command created in #17508
  • Loading branch information
bors committed Jul 19, 2024
2 parents aa4768f + 4307680 commit 9b1b29c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3216,9 +3216,6 @@
},
{
"command": "rust-analyzer.openWalkthrough"
},
{
"command": "rust-analyzer.openFAQ"
}
],
"editor/context": [
Expand Down
10 changes: 0 additions & 10 deletions editors/code/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
};
}
1 change: 0 additions & 1 deletion editors/code/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 9b1b29c

Please sign in to comment.