Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unfold all sections in selected section

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?

like image 934
minecraftplayer1234 Avatar asked Mar 30 '18 01:03

minecraftplayer1234


People also ask

How do you collapse all sections in Word?

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.

Can you collapse sections in Word?

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.

How do I expand all regions in Visual Studio?

CTRL + M expands region.


1 Answers

Try Ctrl-K Ctrl-] recursive unfolding when the cursor is on the function to unfold.

like image 87
Mark Avatar answered Oct 27 '22 00:10

Mark