Skip to main content
1 of 2
Steve Hanov
  • 11.6k
  • 16
  • 67
  • 72

When using typescript, the default tab width is always 2 regardless of what it says in the toolbar. You have to set "prettier.tabWidth" in your user settings to change it.

Ctrl+P, Type >user settings, add:

"prettier.tabWidth": 4 
Steve Hanov
  • 11.6k
  • 16
  • 67
  • 72