Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - flatten packages in explorer view

I would like to know if anyone knows how to flatten the package structures in Visual Studio Code.

I used to have this in my IntelliJ IDE, but with VS Code I can't find a similar option. I am looking for any solution which could resolve this. Either changing settings or extensions if available.

like image 271
Sadish Kumar Avatar asked Sep 20 '16 10:09

Sadish Kumar


1 Answers

This is supported since the 1.41 release (November 2019) and enabled by default. VSCode calls this feature "compact folders", and it can be disabled like this:

"explorer.compactFolders": false

(gif from the release notes)

like image 167
Gama11 Avatar answered Oct 17 '22 19:10

Gama11