How to shift a block of code left/right by one space in VSCode?

前端 未结 7 713
再見小時候
再見小時候 2021-01-30 08:46

In VSCode, I can use alt-up and alt-down to move a line or block up or down, but I can\'t find a command to increase or decrease indent by one space.

I can inde

7条回答
  •  深忆病人
    2021-01-30 08:52

    Have a look at File > Preferences > Keyboard Shortcuts (or Ctrl+K Ctrl+S)

    Search for cursorColumnSelectDown or cursorColumnSelectUp which will give you the relevent keyboard shortcut. For me it is Shift+Alt+Down/Up Arrow

提交回复
热议问题