Possible duplicate:
How to indent C # conditional directives?
Can visual studio automatically specify indent / format formatting?
The following code example has the #if directive, but note the absence of indentation:
else { #if DEBUG Debug.Print(ex.Message); #endif return null; }
I know this is probably true for some kind of pure development practice, but to be honest, in VS.NET I don't care, and I would prefer it to match my code. Is there a way to allow directives # automatically backtrack inside a line with the rest of the code in VS.NET?
Thanks!
c # visual-studio
atconway
source share