Python set tab spacing in Visual Studio Code
-
In vs code: File > Preferences > Settings (Code > Preferences > Settings
-
search 'setting.json'
-
In [JSON] Confige editer settings to ... click Edit in setting.json
-
add this setting to setting.json "[python]": { "editor.insertSpaces": true, "editor.tabSize": 4
}