I'm writing python scripts in VS Code. In the settings the tab size is set to 2, tabs are replaced with spaces.
If I write a smple code snippet with tab size 2, and format the document, the tab size will be formatted to 4. It does not matter if the detect indentation is on or off.
Does anybody know how to solve this problem?
After formatting: picture
Edit: I think, I have to set the autopop8 settings. But I cannot find the settings