• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Visual Studio 2005

SoftwareEng

Senior member
In VB6, you could have the IDE display one procedure at a time, or have the entire code in a continuous "flow" of procedures. In VS 2005, is there a way to view one procedure at a time on the screen, instead of the default massive "everything at once"?

Thanks
 
Using a combination of outlining (edit>outlining) and defined regions you can achieve the same result more or less.
 
Yeah, to follow up on that, there are some custom MS structures you can place in the file to make it more readable.

///<summary>
///
///
/// </summary>

If you type the three slashes in VS2005 it will autocomplete the block for you, including parameter annotations, and you can just type in the info for each method or property. The information in the summary section will be displayed anytime someone hovers the mouse over the named entity in the source.

The other, as mentioned above, is regions.

#region MyClass Public Interface

...

#endregion

Again, VS2005 provides an easy way to add these. Just right click in a procedure and click "Surround with" and then click Region. These create named collapsable regions of code, and can make the file much more understandable.
 
thanks for responding. Still, some of my fellow developers and I miss the old per-procedure view... So I may write a real-time toggler for outlining using the scripting feature of VS 05.
 
Should also note that you can easily jump to any procedure in the file using the drop-down list at the upper right of the code window.
 
Back
Top