How to change indentation in VS Code tree file structure?

  1. Go to File > Preference > Settings
  2. In the search box type: tree indent
  3. Option Workbench › Tree: Indent

- or -

  1. In your settings.json file
  2. Enter this: "workbench.tree.indent": 20