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

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

    No need to use any tool for that , I solved same problem by following below 2 steps

    1. Set Tab Spaces to 1.
    2. Select whole block of code and then press Shift + Tab

    How it works Shift + Tab = Shift text right to left

提交回复
热议问题