Convert indentation between tabs and spaces on selected lines or entire files.
You can install this extension directly from your preferred marketplace:
Alternatively, search for "Selective Indent" in your VS Code Extensions tab.
Access from Command Palette or right-click context menu:
| Command | Action |
|---|---|
| Convert Selected Lines to Spaces | Convert selected lines' indentation to spaces |
| Convert Selected Lines to Tabs | Convert selected lines' indentation to tabs |
| Convert All Lines to Spaces | Convert entire file's indentation to spaces |
| Convert All Lines to Tabs | Convert entire file's indentation to tabs |
Command Palette
Context Menu

