Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expand Collapse not working in Visual Studio Code 1.22.1 Version

enter image description here

Expand and collapse for the code block is not working. I tried to the control Ctrl+Shift+[ and also changed the user settings to "editor.wordWrap": "on".

Is is the correct way to do, it was working earlier without any setting but after the update I am facing this issue.

like image 947
poojagupta Avatar asked Nov 14 '25 20:11

poojagupta


1 Answers

This could be an issue with the syntax aware folding introduced in the March 2018 update. Does this setting suggested in the release notes help?

"editor.foldingStrategy": "indentation"
like image 75
Gama11 Avatar answered Nov 17 '25 12:11

Gama11



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!