**Steps : **

  1. Press CTRL + O in your mac
  2. Type “setting.json”
  3. Add this below code in between curl braces { }
"editor.insertSpaces": true

How to check default settings :

  1. Press CTRL+O
  2. Type >setting
  3. Open file “Default Settings”

Link to download visual studio : click here