Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

any idea why the visual studio code project directory ui displays differently for this scenario?

I’m working on a React project in Visual Studio Code. For some reason, the subdirectory structure that I just added displays subdirs via slashes () instead of rendering the subdirs in a treeview:

enter image description hereps://i.stack.imgur.com/lR24m.png

Any idea why VS Code would do this? Other subdir structures in the project display as normal treeviews as expected

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Probably because those folders are empty and contain empty folders also
Try adding files to them it won’t display that way anymore

NB: There’s no big deal with that display

Now if you want it to display normally:

Select Preferences,then Settings. Then Search for "compact folders" and uncheck the checkbox

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading