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 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