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

前端 未结 7 971
再見小時候
再見小時候 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:54

    There was a feature request for that in vscode repo. But it was marked as extension-candidate and closed. So, here is the extension: Indent One space

    Unlike the answer below that tells you to use Ctrl+[ this extension indents code by ONE whtespace

提交回复
热议问题