Easily convert indentation (tabs <-> spaces) on specific lines or the whole file in VSCode.
You can install Selective Indent from the Visual Studio Code Marketplace or using the command line:
code --install-extension isnandar1471.vscode-selective-indent
- Convert indentation between tabs and spaces
- Supports converting selected lines or entire file
- Accessible from the Command Palette and context menu
Command | Description |
---|---|
vscode-selective-indent.convertSelectedLinesIndentationToSpaces |
Convert selected lines indentation to spaces |
vscode-selective-indent.convertSelectedLinesIndentationToTabs |
Convert selected lines indentation to tabs |
vscode-selective-indent.convertAllLinesIndentationToSpaces |
Convert all lines indentation to spaces |
vscode-selective-indent.convertAllLinesIndentationToTabs |
Convert all lines indentation to tabs |
See ./CHANGELOG.md
Available in ./LICENSE
npm install -g @vscode/vsce
vsce publish