• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Welcome to the world of Anagram Engineering
  • Who we are
  • Leistungen
    • Web Development
    • Embedded Systems
  • References
    • Customers
    • Webdesign & Webapps
    • Mobile Apps
    • Embedded Systems
    • Cloud Apps
  • News

Search

Anagram Engineering

Webdesign und Softwarelösungen aus Vorarlberg. Ihr Partner für innovative Lösungen rund ums Internet. Full Service Agentur.

May 16, 2018 by Harald

Visual Code – Adapt File Tree CSS

This is a short explanation to increase the padding (even though other things could be solved similarly) of the file tree used inside Visual Studio Code (or VS Code).

By default the file tree looks like this

If you prefer a bigger indent, like this (you can adapt it to your needs), this solution is maybe something for you. Not the cleanest solution but currently Microsoft is not giving us any other out of the box solution. This probably will change in the future.

Until then: 

PATH TO YOUR VS CODE INSTALLATION\resources\app\out\vs\workbench\workbench.main.css

for me this was (Windows 10): C:\Program Files\Microsoft VS Code


.monaco-tree-row[aria-level="1"] { padding-left: 0px !important; }
.monaco-tree-row[aria-level="2"] { padding-left: 26px !important; }
.monaco-tree-row[aria-level="3"] { padding-left: 52px !important; }
.monaco-tree-row[aria-level="4"] { padding-left: 78px !important; }
.monaco-tree-row[aria-level="5"] { padding-left: 104px !important; }
.monaco-tree-row[aria-level="6"] { padding-left: 130px !important; }
.monaco-tree-row[aria-level="7"] { padding-left: 156px !important; }
.monaco-tree-row[aria-level="8"] { padding-left: 182px !important; }
.monaco-tree-row[aria-level="9"] { padding-left: 208px !important; }
.monaco-tree-row[aria-level="10"] { padding-left: 234px !important; }
.monaco-tree-row[aria-level="11"] { padding-left: 260px !important; }
.monaco-tree-row[aria-level="12"] { padding-left: 286px !important; }
.monaco-tree-row[aria-level="13"] { padding-left: 312px !important; }
.monaco-tree-row[aria-level="14"] { padding-left: 338px !important; }
.monaco-tree-row[aria-level="15"] { padding-left: 364px !important; }

Filed Under: News

About Harald Entner

Since january 2013 Harald is CEO of Anagram Engineering.

After he has finished his study in computer science at the Technical Universicty of Vienna he worked in Vienna, Munich and Dornbirn as software engineer, software architect and system developer.

Today he enjoys travelling, learning new languages and frameworks, systems, environments and tries to educate hilmself within these domains.

Primary Sidebar

Recent Posts

  • Zumtobel PROset App | Rebranding February 3, 2021
  • Speed matters July 2, 2019
  • Vienna calling June 18, 2019
  • Resclite Pro April 12, 2019
  • Zumtobel PROset App April 10, 2019

Legal

  • AGB
  • Impressum

Footer

Contact US

Stiegstrasse 24
6830 Rankweil

+43 650 925 62 64

About US

Anagram Engineering develops software for Web, Mobile, Tablet and embedded devices.

Learn More

© 2026 · Anagram Engineering

  • terms & conditions
  • impress
  • customers
  • References
  • who we are
  • Deutsch
  • English