| T O P I C    R E V I E W | 
               
              
                | harmy_ro | 
                Posted - Oct 13 2006 : 05:57:33 AM  It would be nice if VisualAssist would support a parsing of all defined macros, then to have an option to hide the code that is not compiled based on that.
  For example: #ifdef OPTION .. codeA .. #else .. codeB .. #endif
  If somewhere in the code you have #define OPTION you could see only codeA. If OPTION is not defined you could see only codeB.
  | 
               
              
                | 1   L A T E S T    R E P L I E S    (Newest First) | 
               
              
                | feline | 
                Posted - Oct 13 2006 : 08:18:46 AM  VS2005 will highlight code that is not currently being compiled.
  VA is designed to help you write code, even if it is not currently being compiled.  A good example of why is people who compile on two different OS's, e.g. Windows and Unix, as I have often done.  I do nearly all of my editing in the IDE with the help of VA, but I still want VA's help on code that will not compile under Windows.
  The other element is that VA is not actually a compiler, and it does not automatically have access to all of the information required to work out which pre-processor definitions are currently live. | 
               
             
           | 
         
       
       
     |