I would like to setup a custom key binding in vscode that passes @:
as an argument (or prefix) to the Command Palette, through the workbench.action.quickOpen
command. The @:
prefix is meant to show all symbols by category. I essentially want a single key binding that performs the following two steps:
- Command + P (to open the command palette)
- @: (to show and then search symbols sorted by category)
I have tried the following in my keybindings.json
, but it only opens the Command Palette without passing the @:
text as an argument or prefix:
{
"key": "ctrl+l",
"command": "extension.multiCommand.execute",
"args": { "command": "workbench.action.quickOpen", "text": "@:"},
}