microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.49k stars 28.1k forks source link

add custom Style to (top level) Workspace Folders in File Explorer #140007

Open sillyslux opened 2 years ago

sillyslux commented 2 years ago

Please add a setting or make it the default to have root-level folders use a different background, so they stand out more. After adding a few folders to my workspace and expanding some subfolders, the file explorer gets confusing, at least to my eye.

vscode

sillyslux commented 2 years ago

i've started using this rule with the custom-css extension for now .explorer-folders-view [aria-level="1"] { background: rgba(0,0,0,.1); }

IllusionMH commented 2 years ago

In the meantime, you can use file icon theme which can provide custom icons for rootfolder-icon. Seti icons theme doesn't have folder icons at all, however built-in Minimal theme has custom icons for root folders. Popular themes from marketplace most likely have custom icon for root folders (Material icon theme have them for sure)