zed icon indicating copy to clipboard operation
zed copied to clipboard

Add file nesting

Open jacobdalamb opened this issue 1 year ago • 2 comments

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

image

jacobdalamb avatar Jan 30 '24 16:01 jacobdalamb

would love to see this!

Hidde-Heijnen avatar Jun 28 '24 08:06 Hidde-Heijnen

Yes.. This will be awesome

saifulapm avatar Aug 25 '24 17:08 saifulapm

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.

thoroc avatar Dec 03 '24 12:12 thoroc

If this is going to happen could there be configurable patterns so different frameworks could ship their nesting patterns?

bcardarella avatar Dec 19 '24 20:12 bcardarella

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.

LANIK2000 avatar Jan 07 '25 19:01 LANIK2000

This seems like a great extension idea. Let's discuss at https://github.com/zed-industries/zed/discussions/categories/extensions-and-themes!

ConradIrwin avatar Jan 30 '25 16:01 ConradIrwin

@ConradIrwin you marked as "completed" but from your comment this seems like a not planned as you implied it should be through an extension?

bcardarella avatar Jan 30 '25 18:01 bcardarella

Hmm, I think that's just the GitHub close button behavior - definitely not completed, agreed

ConradIrwin avatar Jan 30 '25 19:01 ConradIrwin