Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Tab-Indent Space-AlignNew to Visual Studio Code? Get it now.
Tab-Indent Space-Align

Tab-Indent Space-Align

Johannes Zeppenfeld

|
38,801 installs
| (12) | Free
Adds editor support for using tabs as indentation but spaces for alignment.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tab-Indent Space-Align

An extension for those who know the difference between indentation and alignment.

Features

This extension provides VSCode editor support for using tabs as indentation but spaces for alignment.

  • Entering a newline will copy the indentation and any alignment from the previous line.
  • Pressing tab within the indentation will insert a tab, otherwise it will insert spaces.
  • Block indenting and outdenting will only add/remove leading tabs.
  • Full support for multiple selections.

There is nothing to configure, just enable the plugin and benefit!

Known Issues

  • Auto-indentation upon entering a newline is not yet implemented.

Release Notes

0.0.x

Initial release with basic functionality for alignment preserving indent, outdent and newline.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft