Code styles

01/13/09

Permalink 09:32:41 pm, by truewill Email , 75 words, 161 views   English (US)
Categories: Tips, Quality, Tools, ReSharper

Code styles

Here’s a tip for anyone who may be configuring a tool (such as ReSharper) to reformat code.

First create a reference source code file based on your standards. Include every element you can.

Now check this document into source control.

Once you have it saved, run the reformat on it.

Finally, compare the reformatted document with the version in source control. If they’re identical (including whitespace), you’re done - distribute the configuration to your team.

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
The name truewill is composed of two other words. What is the SECOND word?

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 9

powered by b2evolution free blog software