title: Preprocessor directives indentation in Visual C++ 2010
body: <p>I often find myself in situations where I would like to indent preprocessor directives like the rest of the code (e.g. <code>#if</code> indented like <code>if</code>). It <a href="https://stackoverflow.com/questions/789073/indenting-defines">seems legal</a>, it's <a href="https://stackoverflow.com/questions/2975330/how-do-you-indent-preprocessor-statements">common sense that it's sometimes a good thing</a>, but Visual won't make it easy.</p>
  
  <p>Is there a way to prevent the Visual C++ 2010 editor from sticking the code to the left each time I innocently press <code>#</code>? And to not break preprocessor directives indentation with auto-indent (CTRL+K, CTRL+F)? Or even better, to handle preprocessor directives like everything else?</p>