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

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

    Current Version 1.38.1
    

    I had a problem with intending. The default Command+] is set to 4 and I wanted it to be 2. Installed "Indent 4-to-2" but it changed the entire file and not the selected text.

    I changed the tab spacing in settings and it was simple.

    Go to Settings -> Text Editor -> Tab Size

提交回复
热议问题