Possible Duplicate:
How to force indentation of C# conditional directives?
Say I want to type this in Visual Studio:
class Program
{
private const Byte NUM_THREADS =
#if DEBUG
1;
#else
8;
#endif
}
If I simply type it out (i.e. not manually fix any indentation), Visual Studio will format it like this:
class Program
{
private const Byte NUM_THREADS =
#if DEBUG
1;
#else
8;
#endif
}
Is there anything I can do so it automatically indents so it looks like the first example?