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

前端 未结 7 1241
孤街浪徒
孤街浪徒 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:12

    I suggest to remap those keys to another key, this key combination is popular, sometimes it doesn't work because of the conflict with other apps.

    Open the key binding setting, type the smartselect to find this setting, grow is expand the selection from the cursor current position to the nearest bracket, press multiple times if you want to expand or shrink to the next bracket.

提交回复
热议问题