Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Expanding/Collapsing code

In the code window (Visual Studio .net; c#) is there any way to expand all the script without individually expand/collapse procedures/functions?
The find function does not find from the collapsed code. !!!
[214 byte] By [rkbnair] at [2007-11-11 8:45:42]
# 1 Re: Expanding/Collapsing code
You can tell Find to search within collapsed regions by selecting the "Search hidden text" option in the Find dialog.

You can expand/collapse all regions using the Outlining options on Visual Studio's Edit menu (also available by right-clicking in the Editor window).
Phil Weber at 2007-11-11 23:13:07 >
# 2 Re: Expanding/Collapsing code
Thank you Phil.

It works like a charm !
rkbnair at 2007-11-11 23:14:07 >