Reputation: 22113
On vscode, there's a shortcut to go to inner of outer bracket .
report_disk_space() {
return
}
Mac Cmd+Shift+\
From the command palette, there's select to bracket
going to the outer of the bracket.
yet there's not keyboard binding.
How to solve the problem?
Upvotes: 0
Views: 156
Reputation: 2552
You can define a keybinding for this. Open the keyboard shortcuts file and append the following code in the user keybindings. Save the file and VS Code will select the bracke if you do ctrl+k
followed by ctrl+\
. You can change the keybinding by editing the value of the key
property.
{
"key": "ctrl+k ctrl+\\",
"command": "editor.action.selectToBracket",
"when": "editorTextFocus"
}
Upvotes: 1