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

Visual Studio-CodeVscode Settings

Visual Studio-Code Problem Overview


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

Visual Studio-Code Solutions


Solution 1 - Visual Studio-Code

Disable/uncheck Explorer: Compact Folders in your settings.

Related info from release notes: https://stackoverflow.com/questions/53726587/is-there-a-way-to-unify-single-folder-folders-in-vs-code/56655326#56655326

Solution 2 - Visual Studio-Code

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

Solution 3 - Visual Studio-Code

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionZiiMakcView Question on Stackoverflow
Solution 1 - Visual Studio-CodeMarkView Answer on Stackoverflow
Solution 2 - Visual Studio-CodeJonathan SanchezView Answer on Stackoverflow
Solution 3 - Visual Studio-CodeZayaanView Answer on Stackoverflow