Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / May 2007

Tip: Looking for answers? Try searching our database.

Is there a source code beautifier/re-arranger in VS 2005 ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ole Mercano - 22 May 2007 21:27 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.