-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory tree indent guides in File Explorer #17777
Comments
I agree with this. I especially find that the indenting is hard to interpret. And is even worse when file icons are enabled in explorer. |
I also agree! +1 |
Another thing that would be nice in that regard is customizing the indent distance of the next level of hierarchy. |
@Aides359 I agree. Everyone's eyes are different. Just look at tabs. Some people like 2 space tabs in their code. Some like 8. Other 4. I'm a little dyslexic, so I really have a hard time with the indention in VS Code, Though it does seem to have gotten a little better. But it's still bad on my laptop screen, for instance, whereas on my large monitors at work, it's more noticeably indented. |
Yes! Please tree lines as an option. It'd be especially helpful when editor is open at a far corner on a large monitor. Tying the toggle to mouse-over in Explorer Pane would help in keeping the clean look. |
Really useful on big projects. |
@edmundo096 this was closed as a dup of #21295, which is also closed. So I guess this is going nowhere. |
@cosmoKenney This issue isn't closed... |
@cosmoKenney, nope, this is the original post and it isn't resolved. #21295 was the duplicate. |
So yup... my eyes are bleeding. I'm like I think it should have quite high priority. Modern web apps quite often have deep nested files structure. see this example |
I would like this as well, it's quite easy to get lost in larger projects. |
I also agree this should be considered, even when you start a tiny project and know every file by heart, it's kind of annoying to find them when you want to use the explorer, and not the "Quick File Opener"... |
I agree! I've been trying to look for a setting or extension that does this over the last two days but nothing T_T. I really struggle to navigate using the explorer (very helpful when you're navigating a new project). Indent lines would be amazing! |
Do we have any indication if this is in the roadmap? |
+1 |
+1 this is an enormous pain for me on my large monitor. |
++1 |
+1, one reason I might go back to Atom |
+1 |
+1 Microsoft please! |
+1 for this. In the meantime, I've found a bit of a hack to solve it for now: Find your VSCode install (mine was Add these lines to the end of the file: .monaco-tree-row[aria-level="1"] { padding-left: 0px !important; }
.monaco-tree-row[aria-level="2"] { padding-left: 20px !important; }
.monaco-tree-row[aria-level="3"] { padding-left: 40px !important; }
.monaco-tree-row[aria-level="4"] { padding-left: 60px !important; }
.monaco-tree-row[aria-level="5"] { padding-left: 80px !important; }
.monaco-tree-row[aria-level="6"] { padding-left: 100px !important; }
.monaco-tree-row[aria-level="7"] { padding-left: 120px !important; }
.monaco-tree-row[aria-level="8"] { padding-left: 140px !important; }
.monaco-tree-row[aria-level="9"] { padding-left: 160px !important; }
.monaco-tree-row[aria-level="10"] { padding-left: 180px !important; }
.monaco-tree-row[aria-level="11"] { padding-left: 200px !important; }
.monaco-tree-row[aria-level="12"] { padding-left: 220px !important; }
.monaco-tree-row[aria-level="13"] { padding-left: 240px !important; }
.monaco-tree-row[aria-level="14"] { padding-left: 260px !important; }
.monaco-tree-row[aria-level="15"] { padding-left: 280px !important; } Done! That code indents each level a further 20px, starting from 0px (the |
@jakewtaylor this worked great for me, the only issue is that you will receive a 'corrupted installation' notification after doing the changes (..more info here). |
@jakewtaylor @swordf1zh could you provide some screenshot with this 'hack'? Inspired with your idea, I've created styles like:
It's far from solid indent guide, but it's some step forward: |
@swordf1zh yes, I got that too but only once. Haven't seen it since. @pie6k that's looks good. Your addition has given me an idea to slightly improve it, I'll give it a go when I'm in the office later. |
@pie6k Your hack would be a perfect temporary solution except that it hasn't worked quite as well for me for some reason T_T (see pic below) @jakewtaylor Can't wait 😄 |
Well, it doesn't seems to make effect. |
This is currently on the June 2019 Iteration Plan #75103 as "Add support for indentation guides in trees". |
This has been pushed to master: 036278c It will be out tomorrow on Insiders! 🎆 It comes with a new setting
Remember to give it a spin this week and provide feedback! Again: should come out on tomorrow's Insiders. |
Is there any way to style it like in the first post, as in the line pointing to files/folders?
|
Not for now, no. We're trying to meet both ends: address the challenge of hierarchy perception while keeping a consistent, lightweight visual style. We'll see how that goes. |
@joaomoreno it looks cool, but would be great if those guides would a bit more visible Right now I can barely see it |
There should be an option to leave them as they are now. |
@joaomoreno There should be settings under |
"workbench.colorCustomizations": {
"tree.indentGuidesStroke": "#ff0000"
} |
So.. wont there be horizontal lines to the files? It's kinda distant to the files. Moving the horizontal line a little bit to the right would also be really helpful to make it more visible/clear. (Im grateful for the lines either way but it would be a nice to have) |
I'd love an option between "none" and "onHover" that always shows the interesting guides, but doesn't show the non-interesting ones on hover. |
Would be also cool on hover to have all parent folders of hovered file highlighted |
It's hard to navigate through project with complex directory structure.
Much better to look at something like this:
Instead of this:
The text was updated successfully, but these errors were encountered: