Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to disable automatic preprocessor indentation in VC++?

17 views
Skip to first unread message

Andrew McDonald

unread,
Nov 28, 2008, 1:01:05 PM11/28/08
to
Is there a way to stop Visual Studio automatically ditching leading
whitespace when writing preprocessor statements in C++? This is with VS2005
SP1 - perhaps the option is already there in VS2008.

There are options to disable other bits of auto-formatting, but I can't see
one specific to starting a line with #.

Thanks for any tips,
Andy


Tom Serface

unread,
Jan 7, 2009, 12:57:33 AM1/7/09
to
I don't think there is a way to fix this. Back in the day preprocessor
lines had to start at the beginning of the line so I think this is just an
artifact of that time.

Tom

"Andrew McDonald" <myrmeco...@no-spam-thanks.hotmail.com> wrote in
message news:%2373mLNY...@TK2MSFTNGP02.phx.gbl...

0 new messages