You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any possible chance we might see File Nesting in Visual Studio Code the same way it works in Visual Studio 2015? It was really convenient and helpful. I would adore such a feature!
Reacted by Jason, Robert Macfie, skubekk, Ezeki Zibzibadze, martinoss, Serhii Sol, David, cwe1ss, Jan Dryk, Rizwan Aslam and 660 more
Reacted by Chhin Sras
Reacted by Webber Wang, tanekim88, Anatolie, Soheil Alizadeh, Maxwell DeVos, DiegoLeao, AvroraPolnareff, John Klann, Bronley Plumb, Leonardo Porro and 6 more
Reacted by Wolfgang Schuchter, Michael, asaarnak, paul van bladel, ExE Boss, Matt, Paul S., Gleb Pospelov, renzhentaxi, Livio Brunner and 41 more
Reacted by Damian Drygiel, Samo Prelog, Earl, Doug Ludlow, Tsuyoshi Sumiyoshi, Walter Corrales, WaY, Vladimir Grinenko, AndrewStanek, JoΓ£o Vitor P. Moraes and 152 more
Reacted by Samo Prelog, Roman Balzer, juhntao, mdthompson15, Hung Tran, mohamad-agha, giantcoocoo, Aliaksei Khatsianovich, Artem Samofalov, Cleiton Loiola and 28 more
No plans at the moment. Closing until we reconsider this.
Reacted by Anuj Kumar, Daniel Ehrhardt, Yves Goergen, Alessio Coltellacci, Marco Klein, Wessel Kroos, Justin Lessard, Kadir Emin Δ°slamoΔlu, thiagoburgo, Morten Christiansen and 110 more
It would be great to have file nesting for ts + js + map + style.
Currently we are hiding the .js and .map files which makes checking them an annoyance. Even with just ts + css, the sidebar still feels bloated.
Reacted by Jan Dryk, Sadegh, Christoph Murczek, Roy Tinker, Daniel Ehrhardt, James, Seishin, Sviataslau Salamennik, flex-io-glitch, jopuckman and 7 more
Please reconsider this! This is such an important issue.
Theres so many cases where generated files just clutter the workspace. Typescript! Typescript which you use as well! is a prime example. Or LESS/SASS -> css. Or Jade -> Html
Reacted by Sadegh, Bryan Wood, Roy Tinker, Charlie Kiser, Morten Christiansen, Hilton Perantunes, Ludwig Meysel, Bohdan Levchenko, Josef, Sviataslau Salamennik and 13 more
This same principal could be applied to your css and map files.
Reacted by Serhii Sol, Damian Drygiel, Roy Tinker, Daniel Ehrhardt, James, Hilton Rudham, Adarsh Madrecha, Bohdan Levchenko, flex-io-glitch, Colin Claverie and 3 more
Reacted by Danny Acosta, Shmueli Englard, Mark Drake, Manoj Baishya, David Rachwalik and alex-polosky
And i am using that option. The problem arises when i want to see the
hidden files. Also its not clear whether the hidden files are actually
there (that the generation is working...), which makes me open the folder
in explorer where the files are also not grouped... another thing is that
some of my collegues arent comfortable with not seeing half the files in
the project and we would like to use the same settings for the whole team.
For some reason most other editors deemed this feature useful enough to
implement it so why not vs code.
I would like to note that this is really not a complicated feature. Im
pretty sure it can be done in a day. (I was thinking about making a pull
request but it might require some small changes to the architecture around
FileStat)
The latest Insiders contains several explorer.experimental.fileNesting.* settings. Feedback appreciated!
(As this is experimental stage, expect bugs. β€οΈ to any π reports that include a repo link, reproduction steps, and a screen recording!)
would you car you give an example of how it works ?
is there any API for language server to nest fileοΌ
for exampleοΌ .cpp/.h is used for cpp-tools https://github.com/microsoft/vscode-cpptools .xaml/.xaml.cs is used for C# WPF
Alternatively, "*": "$(capture).*" for the general "addedExtension" case (in VS parlance).
Closing this out as the feature is released and will be available in the next stable release (in around 1 week). Please do continue to provide feedback in new issues, I'll remove this from experimental scope when I feel confident that the implementation meets general expectations.
Reacted by Yurii Holskyi, Yves M., Kot, Stefano Salidu and Arman Fatemi
Wouldn't it be more UX-friendly if nested files will move with the parent one when I change the location of the parent file?
(e.g., drag and drop, or copy-paste).
It would be the same experience when I change the folder's location, including its content.
David Gabrichidze (@davidgabrichidze) looks like great request, however I think it's better to create new issue for it instead of piling on 6 years old closed issue.
Activity
isidorn commentedon May 12, 2016
fyi Benjamin Pasero (@bpasero)
ciel commentedon May 13, 2016
The most ideal scenario for this is that anything that starts with the same text as a parent file, minus the extension gets nested, like this;
bpasero commentedon Jul 15, 2016
No plans at the moment. Closing until we reconsider this.
playerx commentedon Jul 19, 2016
This is important feature for large projects. I'm using asp.net vNext for Angular project and now I've following structure automatically (by naming):
In VS Code Explorer I got:
Creating folders for each component is bad solution for angular project (you will need to change references).
We need this feature to move to VS Code.
serhiisol commentedon Aug 5, 2016
Agree, at least ts + js + map files (for instance like webstorm does)
CreepGin commentedon Aug 21, 2016
It would be great to have file nesting for ts + js + map + style.
Currently we are hiding the .js and .map files which makes checking them an annoyance. Even with just ts + css, the sidebar still feels bloated.
wupaz commentedon Sep 11, 2016
Agree I wish file nesting like this (especially for ng2)
Html
--css
--ts
-- etc ...
uxsoft commentedon Sep 15, 2016
Please reconsider this! This is such an important issue.
Theres so many cases where generated files just clutter the workspace. Typescript! Typescript which you use as well! is a prime example. Or LESS/SASS -> css. Or Jade -> Html
ajsheehan commentedon Sep 24, 2016
There is the option to conditionally hide the generated files. For example:
This same principal could be applied to your css and map files.
uxsoft commentedon Sep 24, 2016
And i am using that option. The problem arises when i want to see the
hidden files. Also its not clear whether the hidden files are actually
there (that the generation is working...), which makes me open the folder
in explorer where the files are also not grouped... another thing is that
some of my collegues arent comfortable with not seeing half the files in
the project and we would like to use the same settings for the whole team.
For some reason most other editors deemed this feature useful enough to
implement it so why not vs code.
I would like to note that this is really not a complicated feature. Im
pretty sure it can be done in a day. (I was thinking about making a pull
request but it might require some small changes to the architecture around
FileStat)
On Sunday, September 25, 2016, Andrew Sheehan notifications@github.com
wrote:
195 remaining items
coeur85 commentedon Jan 20, 2022
never mind i figured it out , thank you :)
tjx666 commentedon Jan 25, 2022
Just set:
heartacker commentedon Jan 25, 2022
is there any API for language server to nest fileοΌ
for exampleοΌ
.cpp/.h is used for cpp-tools https://github.com/microsoft/vscode-cpptools
.xaml/.xaml.cs is used for C# WPF
JacksonKearl commentedon Jan 25, 2022
heartacker no, though you can configure that in your settings with something like:
Alternatively,
"*": "$(capture).*"for the general "addedExtension" case (in VS parlance).Closing this out as the feature is released and will be available in the next stable release (in around 1 week). Please do continue to provide feedback in new issues, I'll remove this from
experimentalscope when I feel confident that the implementation meets general expectations.marsen commentedon Jan 25, 2022
So good to hear this feature implemented,
I can't wait, where can I have a try with the trial version?
β€οΈ
trane77 commentedon Feb 5, 2022
It looks like it's reported in the 1.64.0 changelog (experimental feature):
davidgabrichidze commentedon Feb 22, 2022
Wouldn't it be more UX-friendly if nested files will move with the parent one when I change the location of the parent file?
(e.g., drag and drop, or copy-paste).
It would be the same experience when I change the folder's location, including its content.
IllusionMH commentedon Feb 22, 2022
David Gabrichidze (@davidgabrichidze) looks like great request, however I think it's better to create new issue for it instead of piling on 6 years old closed issue.
davidgabrichidze commentedon Feb 22, 2022
Andrii Dieiev (@IllusionMH) Yes, indeed, good idea.
I've created one #143632
selrond commentedon Mar 8, 2022
Is there any way for custom file icons to indicate the nesting besides showing the arrows (which many hide in favor of custom folder icons)?
See https://github.com/moxer-theme/moxer-icons-code/issues/40
JacksonKearl commentedon Mar 8, 2022
Sebastian Andil (@selrond) looking into that this iteration, likely going to force arrows to show for nests even if they don't for folders.
pichayean commentedon Mar 11, 2022
Thk
