Skip to content

isnandar1471/vscode-selective-indent

Repository files navigation

Selective Indent

Selective Indent Icon

Convert indentation between tabs and spaces on selected lines or entire files.

Installation

You can install this extension directly from your preferred marketplace:

Alternatively, search for "Selective Indent" in your VS Code Extensions tab.

Usage

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

Demo

Command Palette

Demo Command Palette

Context Menu

Demo Context Menu

Resources

About

VSCode extension to convert indent from tab to space (or vice-versa) at specific lines.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors