<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dan Rigby &#187; StyleCop</title>
	<atom:link href="http://danrigby.com/tag/stylecop/feed/" rel="self" type="application/rss+xml" />
	<link>http://danrigby.com</link>
	<description>Random Thoughts About Life, Technology, and Software</description>
	<lastBuildDate>Thu, 01 Jul 2010 16:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Making ReSharper Play Nice With StyleCop</title>
		<link>http://danrigby.com/2009/01/23/making-resharper-play-nice-with-stylecop/</link>
		<comments>http://danrigby.com/2009/01/23/making-resharper-play-nice-with-stylecop/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 17:10:19 +0000</pubDate>
		<dc:creator>Dan Rigby</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[ReSharper]]></category>
		<category><![CDATA[StyleCop]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://danrigby.com/?p=186</guid>
		<description><![CDATA[I&#8217;ve been toying with StyleCop more and more as of late and ran into some situations where ReSharper and StyleCop were fighting each other over code formatting issues. Some manual tweaking reduced the problems, but it got me curious. So I did some research and uncovered a wonderful tool, StyleCop for ReSharper. StyleCop for ReSharper [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been toying with StyleCop more and more as of late and ran into some situations where ReSharper and StyleCop were fighting each other over code formatting issues. Some manual tweaking reduced the problems, but it got me curious. So I did some research and uncovered a wonderful tool, <strong><a href="http://www.codeplex.com/StyleCopForReSharper" target="_blank">StyleCop for ReSharper</a></strong>.</p>
<blockquote><p>StyleCop for ReSharper is a ReSharper 4.1 plug-in that allows Microsoft StyleCop to be run as you type, generating real-time syntax highlighting of violations. StyleCop for ReSharper also contains a collection of Quick-Fixes and Code Clean-Up Modules to help you easily fix StyleCop code styling violations.</p></blockquote>
<p>StyleCop for ReSharper also comes with a ReSharper Code Style Settings File which you can import into ReSharper to make ReSharper&#8217;s auto formatting features compliant with StyleCop&#8217;s recommendations. If you don&#8217;t want to import a whole code style settings file and would rather just tweak some specific formatting settings that are responsible for most of StyleCop&#8217;s complaints about ReSharper, I recommend reading these 2 blog posts at <a href="http://www.hockblogs.net/" target="_blank">Hock Blogs</a>:</p>
<ul>
<li><a href="http://www.hockblogs.net/post/2008/10/4-great-Resharper-tips-for-use-with-StyleCop!.aspx" target="_blank">http://www.hockblogs.net/post/2008/10/4-great-Resharper-tips-for-use-with-StyleCop!.aspx</a></li>
<li><a href="http://www.hockblogs.net/post/2008/11/Another-set-of-great-Resharper-tips-for-use-with-StyleCop!.aspx" target="_blank">http://www.hockblogs.net/post/2008/11/Another-set-of-great-Resharper-tips-for-use-with-StyleCop!.aspx</a></li>
</ul>
<p>Navigating around the <a href="http://www.codeplex.com/StyleCopForReSharper" target="_blank">StyleCop</a><a href="http://www.codeplex.com/StyleCopForReSharper" target="_blank"> for </a><a href="http://www.codeplex.com/StyleCopForReSharper" target="_blank">ReSharper</a><a href="http://www.codeplex.com/StyleCopForReSharper" target="_blank"> project page</a> on CodePlex also turns up a lot of additional useful information:</p>
<ul>
<li><a href="http://www.codeplex.com/StyleCopForReSharper/Wiki/View.aspx?title=Fixes&amp;referringTitle=Home" target="_blank">List of all the fixes currently in StyleCop for Resharper</a></li>
<li><a href="http://www.codeplex.com/StyleCopForReSharper/Wiki/View.aspx?title=ConfiguringStyleCopFriendlyCodeCleanUpSettings&amp;referringTitle=Home" target="_blank">Configuring StyleCop Friendly Code Clean-Up Settings</a></li>
<li><a href="http://www.codeplex.com/StyleCopForReSharper/Wiki/View.aspx?title=Contributing&amp;referringTitle=Home" target="_blank">Configuring a Company Name for StyleCop File Header</a></li>
<li><a href="http://www.codeplex.com/StyleCopForReSharper/Wiki/View.aspx?title=ConfigureInspectionSeverity&amp;referringTitle=Home" target="_blank">Configuring Inspection Severity for StyleCop Warnings</a></li>
</ul>
<p>All in all, I&#8217;m enjoying this ReSharper plug-in. It has taken a lot of the pain out of being compliant with StyleCop&#8217;s rules.</p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="mailto:?subject=Making%20ReSharper%20Play%20Nice%20With%20StyleCop&amp;body=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F" title="email"><img src="http://danrigby.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop" title="DotNetKicks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop&amp;bodytext=I%27ve%20been%20toying%20with%20StyleCop%20more%20and%20more%20as%20of%20late%20and%20ran%20into%20some%20situations%20where%20ReSharper%20and%20StyleCop%20were%20fighting%20each%20other%20over%20code%20formatting%20issues.%20Some%20manual%20tweaking%20reduced%20the%20problems%2C%20but%20it%20got%20me%20curious.%20So%20I%20did%20some%20re" title="Digg"><img src="http://danrigby.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop&amp;notes=I%27ve%20been%20toying%20with%20StyleCop%20more%20and%20more%20as%20of%20late%20and%20ran%20into%20some%20situations%20where%20ReSharper%20and%20StyleCop%20were%20fighting%20each%20other%20over%20code%20formatting%20issues.%20Some%20manual%20tweaking%20reduced%20the%20problems%2C%20but%20it%20got%20me%20curious.%20So%20I%20did%20some%20re" title="del.icio.us"><img src="http://danrigby.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F" title="Technorati"><img src="http://danrigby.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop" title="StumbleUpon"><img src="http://danrigby.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop&amp;source=Dan+Rigby+Random+Thoughts+About+Life%2C+Technology%2C+and+Software&amp;summary=I%27ve%20been%20toying%20with%20StyleCop%20more%20and%20more%20as%20of%20late%20and%20ran%20into%20some%20situations%20where%20ReSharper%20and%20StyleCop%20were%20fighting%20each%20other%20over%20code%20formatting%20issues.%20Some%20manual%20tweaking%20reduced%20the%20problems%2C%20but%20it%20got%20me%20curious.%20So%20I%20did%20some%20re" title="LinkedIn"><img src="http://danrigby.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;t=Making%20ReSharper%20Play%20Nice%20With%20StyleCop" title="Facebook"><img src="http://danrigby.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Making%20ReSharper%20Play%20Nice%20With%20StyleCop%20-%20http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F" title="Twitter"><img src="http://danrigby.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop&amp;annotation=I%27ve%20been%20toying%20with%20StyleCop%20more%20and%20more%20as%20of%20late%20and%20ran%20into%20some%20situations%20where%20ReSharper%20and%20StyleCop%20were%20fighting%20each%20other%20over%20code%20formatting%20issues.%20Some%20manual%20tweaking%20reduced%20the%20problems%2C%20but%20it%20got%20me%20curious.%20So%20I%20did%20some%20re" title="Google Bookmarks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F23%2Fmaking-resharper-play-nice-with-stylecop%2F&amp;title=Making%20ReSharper%20Play%20Nice%20With%20StyleCop" title="Live"><img src="http://danrigby.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danrigby.com/2009/01/23/making-resharper-play-nice-with-stylecop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
