Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Selective IndentNew to Visual Studio Code? Get it now.
Selective Indent

Selective Indent

Isnandar Fajar Pangestu

|
39 installs
| (0) | Free
Easily convert indentation (tabs <-> spaces) on specific lines or the whole file in VSCode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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:

  • VS Code Marketplace
  • Open VSX Registry

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

  • Changelog
  • License
  • Development Guide
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft