Improve file explorer indentation levels #66579
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When looking at directories and files in the file explorer panel, the default indentation level is 12px. For many users, this default is not big enough and causes the nesting levels of the directories and files to be hard to figure out.
This patch simply increases the default file explorer indentation from 12px to 20px, yielding a much easier-on-the-eyes view of the files. Perhaps this value could go into a user setting and become configurable. Making this change directly in the code is much better than hacks such as slapping additional nasty css to the end of the
vs/workbench/workbench.main.css
file (which causes VS Code to complain that the installation has become corrupt).On the image below, the left is the default and the right is what this change produces (ie - a visually more helpful level of indentation):