Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode disable empty folders (parent/child folders) merge/collapse/inline

If child folder is empty, vscode get them merged like on screenshot. Is there an option to disable it? It's confusing and harder to use for me.

enter image description here

like image 248
ZiiMakc Avatar asked Dec 19 '19 18:12

ZiiMakc


3 Answers

Disable/uncheck Explorer: Compact Folders in your settings.

Related info from release notes: Is there a way to unify single-folder folders in vs code?

like image 138
Mark Avatar answered Oct 17 '22 16:10

Mark


In VsCode on MAC go to Code (top left hand corner)

  1. Select Preferences
  2. then Settings
  3. then Search for compact folders
  4. Uncheck the

enter image description here

like image 36
Jonathan Sanchez Avatar answered Oct 17 '22 18:10

Jonathan Sanchez


In VsCode on WINDOWS go to File (top left hand corner)

  1. Select Preferences
  2. then Settings (or you can simply press Ctrl/Cmd+,)
  3. then search for Compact Folders
  4. Unckeck the option
like image 3
Zayaan Avatar answered Oct 17 '22 17:10

Zayaan