mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
remove rust-analyzer.openFAQ
This commit is contained in:
parent
71c78167e8
commit
430768064f
3 changed files with 0 additions and 19 deletions
|
@ -310,11 +310,6 @@
|
||||||
"command": "rust-analyzer.openWalkthrough",
|
"command": "rust-analyzer.openWalkthrough",
|
||||||
"title": "Open Walkthrough",
|
"title": "Open Walkthrough",
|
||||||
"category": "rust-analyzer"
|
"category": "rust-analyzer"
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "rust-analyzer.openFAQ",
|
|
||||||
"title": "Open FAQ",
|
|
||||||
"category": "rust-analyzer"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
|
@ -3221,9 +3216,6 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "rust-analyzer.openWalkthrough"
|
"command": "rust-analyzer.openWalkthrough"
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "rust-analyzer.openFAQ"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"editor/context": [
|
"editor/context": [
|
||||||
|
|
|
@ -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,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
@ -179,7 +179,6 @@ function createCommands(): Record<string, CommandFactory> {
|
||||||
toggleCheckOnSave: { enabled: commands.toggleCheckOnSave },
|
toggleCheckOnSave: { enabled: commands.toggleCheckOnSave },
|
||||||
toggleLSPLogs: { enabled: commands.toggleLSPLogs },
|
toggleLSPLogs: { enabled: commands.toggleLSPLogs },
|
||||||
openWalkthrough: { enabled: commands.openWalkthrough },
|
openWalkthrough: { enabled: commands.openWalkthrough },
|
||||||
openFAQ: { enabled: commands.openFAQ },
|
|
||||||
// Internal commands which are invoked by the server.
|
// Internal commands which are invoked by the server.
|
||||||
applyActionGroup: { enabled: commands.applyActionGroup },
|
applyActionGroup: { enabled: commands.applyActionGroup },
|
||||||
applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand },
|
applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue