Disable auto-indent certain items in Visual Studio 2005?

Posted by Jakobud on Stack Overflow See other posts from Stack Overflow or by Jakobud
Published on 2010-03-22T04:40:48Z Indexed on 2010/03/22 4:41 UTC
Read the original article Hit count: 326

I don't mind most of the way that VS2005 auto-indents (or auto-formats) my C++ code, but certain items I don't want it to automatically indent. Like #define statements for example. It takes them and shoves them all the way to the left side of the screen, no matter how deep into my scope I type them. That's really really annoying.

Is there someway to alter this behavior, besides completely disabling auto-indent/format?

© Stack Overflow or respective owner

Related posts about visual

Related posts about visual-studio-2005