Board index » Visual Studio » Hiding macro lines in Visual Studio
|
cade72
|
Hiding macro lines in Visual Studio
Visual Studio107
I am working on a large commercial app with 40 current developers that have been working on this app for about 10 years now (we are currently developing version 10 that will ship in September). The group developed a very useful debugging tool that dumps whatever information we want to see while the app is running. This is a macro that collapses to null in a shipping build. The problem is that some areas of the code have massive TRACE statements, inserted during debugging of those sections. We really don't want to remove the TRACE statements (they have two control parameters that give us 10,000 separate control points in the external watching app, letting us to on and off various statements at run time. These statements are so dense in some areas that they make reading the code difficult. So now the question... Is there any way in Visual Studio to hide all macro statements? That is, we'd like a button to press that would collapse all TRACE (or other macro) calls within the source file, hiding them from the person reading the code. Pressing that same magic button would toggle, and bring the macros visible again. -- - Burt Johnson MindStorm, Inc. www.mindstorm-inc.com/software.html - |
