VS-Code: Indentation auf 4 Leerzeichen setzen – auch bei Import

File > Preferences > Settings

Nach „Indentation“ suchen (Eingabefeld).

Editor: Detect Indentation [off]

Editor: Tab Size = 4

Format Document (Ctrl – Shift – i)