Adds commands to the command palette to set the indentation width and whether to use tabs or spaces, optionally re-indenting the entire file.
Press Ctrl+Shift+P (Cmd+Shift+P on Mac) and then type a few letters (e.g. "is2" for "Indent: Spaces, 2" or "rt4" for "Re-indent: Tabs, 4") to get the command you need.
- Shiftswitch: Indent: Spaces, 1
- Shiftswitch: Indent: Spaces, 2
- Shiftswitch: Indent: Spaces, 3
- Shiftswitch: Indent: Spaces, 4
- Shiftswitch: Indent: Spaces, 5
- Shiftswitch: Indent: Spaces, 6
- Shiftswitch: Indent: Spaces, 7
- Shiftswitch: Indent: Spaces, 8
- Shiftswitch: Indent: Tabs, 1
- Shiftswitch: Indent: Tabs, 2
- Shiftswitch: Indent: Tabs, 3
- Shiftswitch: Indent: Tabs, 4
- Shiftswitch: Indent: Tabs, 5
- Shiftswitch: Indent: Tabs, 6
- Shiftswitch: Indent: Tabs, 7
- Shiftswitch: Indent: Tabs, 8
- Shiftswitch: Re-indent: Spaces, 1
- Shiftswitch: Re-indent: Spaces, 2
- Shiftswitch: Re-indent: Spaces, 3
- Shiftswitch: Re-indent: Spaces, 4
- Shiftswitch: Re-indent: Spaces, 5
- Shiftswitch: Re-indent: Spaces, 6
- Shiftswitch: Re-indent: Spaces, 7
- Shiftswitch: Re-indent: Spaces, 8
- Shiftswitch: Re-indent: Tabs, 1
- Shiftswitch: Re-indent: Tabs, 2
- Shiftswitch: Re-indent: Tabs, 3
- Shiftswitch: Re-indent: Tabs, 4
- Shiftswitch: Re-indent: Tabs, 5
- Shiftswitch: Re-indent: Tabs, 6
- Shiftswitch: Re-indent: Tabs, 7
- Shiftswitch: Re-indent: Tabs, 8