change vscode indentation from 4 to 2 code example
Example: vscode change tab to 2 spaces
Go to File > Preference > Settings > Detect Indentation and uncheck + Tab Size to 2
Go to File > Preference > Settings > Detect Indentation and uncheck + Tab Size to 2