So in Visual Studio if I have a collapsed function code, when I unfold it, it also unfolds all the ifs, switches etc. inside of it. In visual studio code hovewer if I go for Fold All (Ctrl+K Ctrl+0
) then if I wanna quickly check one function (f.e unfolding it by mouse click on the cross near line numbers), it unfolds the function but it doesn't go recursively, making me to unfold every other if/else or case. Is there a way to make this work the way I would expect it?
To collapse or expand all the headings in your document, right-click the heading and click Expand/Collapse > Expand All Headings or Collapse All Headings.
Collapse or expand parts of a document Place your cursor in the heading. On the HOME tab, in the Paragraph group, click the dialog box launcher. In the Paragraph dialog box, click the checkbox next to Collapsed by default. Click OK.
CTRL + M expands region.
Try Ctrl-K Ctrl-] recursive unfolding when the cursor is on the function to unfold.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With