When I insert a new Eventhandler or function VS 2005 does this automatically with an
indent which I don't like. Furthermore I would change the curly bracket handling.
Is there soemthing like a built-in source code beautifier which re-arranges the source code
according to my personal preferences ?
Ole
Carl Daniel [VC++ MVP] - 22 May 2007 21:34 GMT
> When I insert a new Eventhandler or function VS 2005 does this
> automatically with an
[quoted text clipped - 4 lines]
> re-arranges the source code
> according to my personal preferences ?
There are lots of options in Tools|Options in VS2005 for configuring the C#
formatter. If you want something beyond what those provide, I think your
only choice is to turn off smart indent and use an external tool to format
the code the way you like it.
-cd
Samuel R. Neff - 22 May 2007 21:36 GMT
ReSharper provides source code rewriting with a ton of options for
style. (does a billion other things too)
http://www.jetbrains.com/resharper/
HTH,
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
>When I insert a new Eventhandler or function VS 2005 does this automatically with an
>indent which I don't like. Furthermore I would change the curly bracket handling.
[quoted text clipped - 3 lines]
>
>Ole