title: How to collapse all blocks of #ifdefs that will not be compiled in Visual Studio?
body: <p>The problem is the following: the codebase have many files with multiple blocks compiled conditionally for each of target platforms using the #if defined(...) directive. Since the typical programmer is working mainly on one of the platforms it is quite hard to read and navigate the code with these large blocks of inactive code blocks even if the code blocks are greyed out in the Visual Studio 2005 editor.</p>
  
  <p>Have someone have an idea of a functionality for collapsing only the blocks of code which are not compiled but still present in the source file.</p>