Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual-studio-code: How to open the outline panel collapsed

Is there any setting (or extension) to open the outline panel collapsed and keep it collapsed until I click on a item. Thanks

like image 708
hitchhiker Avatar asked Sep 12 '25 04:09

hitchhiker


1 Answers

In recent VSCode (version 1.73+), there is an option for this:

Open Settings and find outline.collapseItems option (just search for collapse word is enough), then select AlwaysCollapse for it as shown below:

Settings > outline.collapseItems

enter image description here

like image 159
S.Serpooshan Avatar answered Sep 14 '25 23:09

S.Serpooshan