Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Change Tab SizeNew to Visual Studio Code? Get it now.
Change Tab Size

Change Tab Size

altbdoor

|
2,369 installs
| (0) | Free
Changes the tab size of the opened file to follow the global tab size specified in the global settings.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

change-tab-size

Changes the tab size of the opened file to follow the global tab size specified in the global settings.

Works best with:

  • editor.tabSize specified to a value that you are comfortable with.
  • editor.detectIndentation set to true, so VSCode can guess the estimated tab size.

Preview

Commands

  • changeTabSize.followDefault
    • Change to default in global settings

Extension Settings

  • changeTabSize.activateOnLanguages
    • Automatically run the change tab size command when files with the specified language identifiers are active.
    • Defaults to an empty array.

Release Notes

Please check CHANGELOG.md

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