Tom Knowlton
asked on
Toggle method body -- region body "expansion" ?
As most of you know under VS .NET you can collapse and expand method bodies (and regions, of course) by clicking on the + / - over on the left-hand gutter in the IDE.
But what I do not know is if or how you can collapse or expand all such regions / methods ALL AT ONCE ???
I'd be interested to find this out.
Thanks,
Tom
But what I do not know is if or how you can collapse or expand all such regions / methods ALL AT ONCE ???
I'd be interested to find this out.
Thanks,
Tom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good answer.....it literally does toggle ALL outlining!!!
I wonder if there is a way to target JUST the methods and not the regions?
I am just trying to unclutter my code a little and look at particular methods and condense the rest.
I wonder if there is a way to target JUST the methods and not the regions?
I am just trying to unclutter my code a little and look at particular methods and condense the rest.
if you use your cursor and arrow keys, control + M and control + M can do some of that
ASKER
>>>if you use your cursor and arrow keys, control + M and control + M can do some of that
Noted....I tried it...yes it works....but hmmmmm.....still not what I had in mind.
I think the ALL outlining is not able to "distinguish" between regions and methods. Oh well....
Noted....I tried it...yes it works....but hmmmmm.....still not what I had in mind.
I think the ALL outlining is not able to "distinguish" between regions and methods. Oh well....
oh well =)) VS.NET 2003 is in need of some serious overhaul anyways.
ASKER
>>>oh well =)) VS.NET 2003 is in need of some serious overhaul anyways.
Like much of the stuff put out by Microsoft's......VS >NET is a work-in-progress. :)
Overall...I like VS .NET and enjoy programming in C#.
Like much of the stuff put out by Microsoft's......VS >NET is a work-in-progress. :)
Overall...I like VS .NET and enjoy programming in C#.
C# is my fave language, but I'd advise you to learn how to programme in VB.NET just to increase your skillset appeal to your bosses
ASKER
VB .NET ????
Yuck!
I prefer C#. :)
Yuck!
I prefer C#. :)
LOL!! Well if I were to list the top 5 problems with VB.NET. Here it is:
1. Allows Sloppy Programming : Option Explicit = False, Option Strict = False
2. No Operator Overloading
3. Extreme Verbosity Achieving Very Little
like so
Public ReadOnly Property MyData() As String
Get
Return "Hello World"
End Get
End Property
we already have just one get accessor why bother with the word ReadOnly...
4. Microsoft.VisualBasic.dll
5. VB Programmers trying to fit VB6 ideas into VB.NET
1. Allows Sloppy Programming : Option Explicit = False, Option Strict = False
2. No Operator Overloading
3. Extreme Verbosity Achieving Very Little
like so
Public ReadOnly Property MyData() As String
Get
Return "Hello World"
End Get
End Property
we already have just one get accessor why bother with the word ReadOnly...
4. Microsoft.VisualBasic.dll
5. VB Programmers trying to fit VB6 ideas into VB.NET
ASKER
:)
Control + M, Control + L to expand/collapse all such regions