vs code make tab 4 spaces code example
Example 1: vscode tab size
"editor.insertSpaces": true,
"editor.tabSize": 2,
Example 2: vscode change tab to 2 spaces
Go to File > Preference > Settings > Detect Indentation and uncheck + Tab Size to 2
"editor.insertSpaces": true,
"editor.tabSize": 2,
Go to File > Preference > Settings > Detect Indentation and uncheck + Tab Size to 2