Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tabstop Whitespace ConverterNew to Visual Studio Code? Get it now.
Tabstop Whitespace Converter

Tabstop Whitespace Converter

Johnny Wong

|
6,196 installs
| (11) | Free
Convert tabs to spaces, spaces to tabs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code Tabstop Whitespace Converter

Help you with tasks such as:

  • Convert Tabs to Spaces
  • Convert Spaces to Tabs

Remark: current text selections are considered for the lines to be converted. If selection is empty, the whole document is converted.

For most editors, a tab character should align to next tabstop which is multiple column of tab size. This plugin will correctly treat a tab as 1 to tab size number of spaces up to the next tabstop.

This project is forked from plugin "vscode whitespacer" (commit 4a4db34e8f) (Credit: Budi Irawan), but with conversion logic changed to regard tabstop. For usage, you may reference the demo for "vscode whitespacer" at:

https://raw.githubusercontent.com/deerawan/vscode-whitespacer/master/images/whitespacer-usage.gif

Installation

Type cmd-shift-p to launch command palette and choose Extensions: Install Extension. Search tabstop whitespace converter and install.

Usage

Type cmd-shift-p to launch command palette, type tabstop whitespace converter then pick the command you want to use.

License

MIT

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