<?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>just in ram &#187; Reshaper</title>
	<atom:link href="http://justinramel.com/tag/reshaper/feed/" rel="self" type="application/rss+xml" />
	<link>http://justinramel.com</link>
	<description>A list of stuff I should remember but never do</description>
	<lastBuildDate>Sat, 24 Jul 2010 10:14:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Resharper format settings</title>
		<link>http://justinramel.com/2009/06/10/resharper-format-settings/</link>
		<comments>http://justinramel.com/2009/06/10/resharper-format-settings/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:15:59 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[Resharper]]></category>
		<category><![CDATA[Reshaper]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/10/resharper-format-settings/</guid>
		<description><![CDATA[I can never remember these so thought it best to write them down. Start with the settings from:
http://codebetter.com/blogs/aaron.jensen/archive/2008/10/19/getting-resharper-and-vs-to-play-nice-with-mspec.aspx
Plus a few extras…
Go to menu Resharper –&#62; Options –&#62; Languages –&#62; C# –&#62; Formatting Style

Braces Layout –&#62; All set to (BSD style)
Braces Layout –&#62; Empty braces formatting = Together on the same line 
Blank lines – I [...]]]></description>
			<content:encoded><![CDATA[<p>I can never remember these so thought it best to write them down. Start with the settings from:</p>
<p><a href="http://codebetter.com/blogs/aaron.jensen/archive/2008/10/19/getting-resharper-and-vs-to-play-nice-with-mspec.aspx" target="_blank">http://codebetter.com/blogs/aaron.jensen/archive/2008/10/19/getting-resharper-and-vs-to-play-nice-with-mspec.aspx</a></p>
<p>Plus a few extras…</p>
<p>Go to menu Resharper –&gt; Options –&gt; Languages –&gt; C# –&gt; Formatting Style</p>
<ul>
<li>Braces Layout –&gt; All set to (BSD style)</li>
<li>Braces Layout –&gt; Empty braces formatting = Together on the same line<a href="http://justinram.files.wordpress.com/2009/06/image6.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb6.png" width="476" height="484" /></a> </li>
<li>Blank lines – I don’t like a lot of blank lines so I set mostly to 1/0<a href="http://justinram.files.wordpress.com/2009/06/image13.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb13.png" width="644" height="463" /></a> </li>
<li>
<p>Other –&gt; Align Multiline Constructs – Call arguments = Off</p>
</li>
<li>
<p>Other –&gt; Align Multiline Constructs – Expression = Off<a href="http://justinram.files.wordpress.com/2009/06/image14.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb14.png" width="543" height="484" /></a> </p>
</li>
<li>
<p>Other –&gt; Other – Indent array, object and collection initializer block = Off<a href="http://justinram.files.wordpress.com/2009/06/image9.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb9.png" width="476" height="484" /></a></p>
</li>
</ul>
<h2>Regions</h2>
<p>Stop Resharper adding regions to interface implementations and nested classes:</p>
<p>Go to menu: Resharper –&gt; Options –&gt; Languages –&gt; C# –&gt; Type Members Layout</p>
<p>Un-tick Use Default Patterns and you get a text area full of xml. Scroll to the bottom and delete the section:</p>
<p>&lt;Group&gt;   <br />&#160; &lt;ImplementsInterface Immediate=&quot;true&quot; Region=&quot;${ImplementsInterface} Members&quot;/&gt;    <br />&lt;/Group&gt; </p>
<p><a href="http://justinram.files.wordpress.com/2009/06/image10.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb10.png" width="476" height="484" /></a></p>
<p>Also&#160; delete the section:</p>
<p>&lt;Group&gt;   <br />&#160; &lt;Name Region=&quot;Nested type: ${Name}&quot;/&gt;    <br />&lt;/Group&gt; </p>
<p><a href="http://justinram.files.wordpress.com/2009/06/image11.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb11.png" width="484" height="484" /></a> </p>
<p>Finally click Ok.</p>
</p>
</p>
</p>
<h2>Code Cleanup</h2>
<p>Go to menu Resharper –&gt; Options –&gt; Tools –&gt; Code Cleanup</p>
<p>Add a new profile with the following settings:</p>
<p><a href="http://justinram.files.wordpress.com/2009/06/image12.png"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="image" border="0" alt="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb12.png" width="440" height="484" /></a> </p>
<p>I didn’t realise I had fiddled with the default settings so much no wonder I can never remember them.</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2009/06/10/resharper-format-settings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
