Is there in vscode an option to: Select everything between matching brackets

前端 未结 7 1245
孤街浪徒
孤街浪徒 2020-12-08 13:48

Is there in vscode a shortcut available which selects all code between matching brackets e.g. in atom this shotcut is ctrl+alt+m

7条回答
  •  再見小時候
    2020-12-08 14:11

    I am using this extension, called Quick and Simple Text Selection - yes, that's the name :)

    If you don't want to use an extension, this is the best I come up with so far: go to edit keyboard shortcuts and from there open your keybindings.json file and add the following lines

    {
        "key": "ctrl+'",
        "command": "editor.action.smartSelect.grow",
        "when": "editorTextFocus"
    }
    

提交回复
热议问题