it is very annoying to collapse all one by one...
+2
A:
CTRL + M, CTRL + L
This will also collapse anything that is collapsible too, such as scopes defined by braces.
Steve Guidi
2009-10-14 21:58:26
+3
A:
Quickest way will be to collapse to definitions via Ctrl+M,Ctrl+O
. That will collapse all code down to the signature lines.
Agent_9191
2009-10-14 21:59:24
I like this one: CTRL+M, CTRL+L collapses a bit too much for my taste.
Fredrik Mörk
2009-10-14 22:02:09
+4
A:
Like Steve said, CTRL + M plus CTRL + L for collapsing all regions recursively. This one is a toggle, meaning you can do it again to re-open them.
Do CTRL + M plus CTRL + O to collapse all regions non-recursively.
Source: http://weblogs.asp.net/mrdave/archive/2004/09/17/230732.aspx
Jorge Israel Peña
2009-10-14 22:00:04