Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Tab StopNew to Visual Studio Code? Get it now.
Tab Stop

Tab Stop

Dillan

|
365 installs
| (0) | Free
Utility extension to insert spaces on the current line to a user-configured column number
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tab-stop README

Set one or more tab stops to assist with aligning and formatting your code.

Features

Tab Stop lets you specify one or more columns to indent your code to when invoking the extension. You can use it to fill space before your = signs to keep them aligned throughout your file, or keep all your line comments starting at the same column. You can also optionally change the character that gets filled from the default, .

If your cursor is past the last tab stop you provide, nothing will be filled. If you provide multiple characters to fill, it will cycle through them and stop at provided column, trimming the character string as needed.

Example:

Turn this: Before

Into this: After

Note: this is not an auto-formatter. I had to place cursors at each appropriate place in the example. I recommend binding the tab-stop.indent command to a keybinding so it is easy to invoke as you type.

This extension pairs nicely with VS Code's column markers. Set a marker to each tab stop so you have a visual indication of where you will indent to next.

Extension Settings

This extension contributes the following settings:

  • tab-stop.character: Specify the character(s) to be filled from the current cursor position to the next tab stop. Default:
  • tab-stop.columns: A list of column values to fill the specified character to. Order does not matter. You must provide at least one value for the extension to operate. Having multiple values will allow you to sequentially indent to each tab stop until you reach the largest value. Default: [80]

Known Issues

None

Release Notes

1.1.2024032811

Added support for dedenting to the previous tab stop Improve/add multi-line support for both indenting and dedenting

1.0.1

Fixed bug in tab-stop column sorting to handle values less than 10 and greater than 99

1.0.0

Initial release of Tab Stop

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