zed
zed copied to clipboard
Compact empty directories in the file tree
Check for existing issues
- [X] Completed
Describe the feature
Hello everyone 👋,
It would be amazing to have something like vscode with a compact view of empty directories. See the example below:
This would greatly improve readability for Scala/Java projects!
Thanks in advance for your consideration 🙏
If applicable, add mockups / screenshots to help present your vision of the feature
We have a setting for this: project_panel.auto_fold_dirs.
https://github.com/zed-industries/zed/blob/ee531b6f4dd2090472b8aff75bf77eb9b2d6e250/assets/settings/default.json#L235-L237
I setup this param to true but it doesn't seems to work
I really want something like
folder1/folder2/folder3/folder4 -> tmp -> other files
I setup this param to true but it doesn't seems to work
What version of Zed are you on?
And what happens if you click into the project panel? For me the project panel didn't live-update after changing the setting until I clicked into the project panel.
Zed 0.131.6
Nothing happen :/
I also tried to restart zed btw
If you need more information don't hesitate
@SouchonTheo The auto_fold_dirs setting is in the Preview release (https://github.com/zed-industries/zed/releases/tag/v0.132.0-pre), but not Stable. It should get released in Stable on Wednesday.
oh ok ! make a lot of sense !
Do you mind if I close the ticket myself on Wednesday if everything goes well ?
Big thanks @maxdeviant @baldwindavid for your time 🙏
working perfectly fine thanks for the hard work !
Good job guys! 👏
Hi everyone! May be i do something wrong, but i can't use this feature. I create .zed/settings.json to my project, try add { "project_panel": { "auto_fold_dirs": true } } and { "auto_fold_dirs": true } in it, but middle packages still not hidden. I use Ubuntu 22.04.4 LTS and Zed v0.143.7. Can you pls help me?
