zed
zed copied to clipboard
Add file nesting
Check for existing issues
- [X] Completed
Describe the feature
A setting that enables users to create "folders" for specific files such as configuration files for frameworks, build and test tools and others. This idea is from a VSCode extension file-nesting that creates a config snippet using VS Code file nesting feature
If applicable, add mockups / screenshots to help present your vision of the feature
would love to see this!
Yes.. This will be awesome
Especially useful when the test files are named <filename>.(test|spec).<extension> and placed next to the source file, which happens a lot in the JS/TS world.
If this is going to happen could there be configurable patterns so different frameworks could ship their nesting patterns?
Yes please! I'd especially appreciate if we could nest rust files too. So the ./my_mod.rs file and and ./my_mod/ directory. Surprisingly haven't seen this anywhere else yet, or am to dumb to find it.
This seems like a great extension idea. Let's discuss at https://github.com/zed-industries/zed/discussions/categories/extensions-and-themes!
@ConradIrwin you marked as "completed" but from your comment this seems like a not planned as you implied it should be through an extension?
Hmm, I think that's just the GitHub close button behavior - definitely not completed, agreed