<?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>Randy Patterson &#187; ReSharper</title>
	<atom:link href="http://RandyPatterson.com/index.php/category/resharper/feed/" rel="self" type="application/rss+xml" />
	<link>http://RandyPatterson.com</link>
	<description>Code To Live, Live To Code</description>
	<lastBuildDate>Sat, 24 Apr 2010 01:18:12 +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 and the Method Group Refactor</title>
		<link>http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/</link>
		<comments>http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 22:01:59 +0000</pubDate>
		<dc:creator>randypatterson</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[ReSharper]]></category>

		<guid isPermaLink="false">http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/</guid>
		<description><![CDATA[While writing code similar to the following lines, ReSharper suggested the “Replace With Method Group” Refactoring for Line 2.
&#160;


   1: var names = Directory.GetFiles(@&#34;c:\Program Files&#34;).ToList();

   2: names.ForEach(n =&#62; Console.WriteLine(n));


The Method Group shorthand is usually found in places where you take the following code 
myButton.Click += new EventHandler(myButton_Click);
and replace it with this.

myButton.Click [...]]]></description>
			<content:encoded><![CDATA[<div id="codeSnippetWrapper">While writing code similar to the following lines, ReSharper suggested the “Replace With Method Group” Refactoring for Line 2.</div>
<div>&#160;</div>
<div>
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> var names = Directory.GetFiles(<span style="color: #006080">@&quot;c:\Program Files&quot;</span>).ToList();</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> names.ForEach(n =&gt; Console.WriteLine(n));</pre>
<p><!--CRLF--></div>
</div>
<p>The Method Group shorthand is usually found in places where you take the following code </p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">myButton.Click += <span style="color: #0000ff">new</span> EventHandler(myButton_Click);</pre>
<p>and replace it with this.</p>
<div id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">myButton.Click += myButton_Click;</pre>
<p>The C# compiler can infer the usage of the EventHandler class, giving you cleaner, less noisy code. </p>
<p></div>
<div>Letting Resharper apply the Method Group refactoring produces the following code.</div>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> var names = Directory.GetFiles(<span style="color: #006080">@&quot;c:\ProgramFiles&quot;</span>).ToList();</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> names.ForEach(Console.WriteLine);</pre>
<p><!--CRLF--></div>
</div>
<div id="codeSnippetWrapper">&#160;</div>
<div>I was pleasantly surprised by the results. Apparently, I don’t have to explicitly declare the intermediate lambda variable ‘n’ just so I can pass it into the WriteLine method. The compiler is smart enough to infer this for me.&#160; Although a little confusing at first, this shorthand notation is pretty nice.&#160; I doubt I would have realized this without ReSharpers’ refactoring suggestions, one of the many reasons I’m a R# Junkie.</div>
<div>
  </div>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=ReSharper+and+the+Method+Group+Refactor&amp;url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;title=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+ReSharper+and+the+Method+Group+Refactor+@+http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/&amp;t=ReSharper+and+the+Method+Group+Refactor" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://RandyPatterson.com/index.php/2010/03/12/resharper-and-the-method-group-refactor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning ReSharper</title>
		<link>http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/</link>
		<comments>http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 17:55:43 +0000</pubDate>
		<dc:creator>randypatterson</dc:creator>
				<category><![CDATA[ReSharper]]></category>

		<guid isPermaLink="false">http://localhost/2008/10/04/BeginningReSharper.aspx</guid>
		<description><![CDATA[I&#8217;ve been using ReSharper for nearly 2 1/2 years now and I can&#8217;t imagine trying to program without it.&#160; However, one of the greatest challenges to being productive with ReSharper is learning the daunting list of keys.&#160; Many of the Resharper features are highly discoverable using visual indicators such as icons &#8220;squiggly&#8221; lines but most [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using ReSharper for nearly 2 1/2 years now and I can&#8217;t imagine trying to program without it.&nbsp; However, one of the greatest challenges to being productive with ReSharper is learning the daunting list of keys.&nbsp; Many of the Resharper features are highly discoverable using visual indicators such as icons &#8220;squiggly&#8221; lines but most refactoring and navigation activities require memorizing numerous key presses&#8230;.or does it?</p>
<h3>Refactor This</h3>
<p>There are dozens of key presses used for Navigating and Refactoring your code and many are only valid in certain contexts.&nbsp; For Example, it doesn&#8217;t make sense to attempt the <em><strong>Introduce Variable </strong></em>(Ctrl+Alt+V) refactor when your cursor is on a method signature.&nbsp; Fortunately, ReSharper has an aggregate key press that will show you all of the refactorings appropriate for the current context.&nbsp; </p>
<p><a href="http://randypatterson.com/images/BeginningReSharper_118B7/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="30" alt="image" src="http://randypatterson.com/images/BeginningReSharper_118B7/image_thumb.png" width="404" border="0"></a> </p>
<p>You no longer have to remember that Ctrl+F6 allows you to change a method signature you simply remember to press&nbsp; Ctrl+Shift+R and select the <em><strong>Change Signature</strong> </em>refactor.</p>
<p><a href="http://randypatterson.com/images/BeginningReSharper_118B7/image8.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="281" alt="image" src="http://randypatterson.com/images/BeginningReSharper_118B7/image8_thumb.png" width="450" border="0"></a> </p>
<p>As you can see &#8220;<em><strong>Refactor This</strong></em>&#8221; shows all the refactorings appropriate for the current context but it also includes the key presses for the ones that have mappings.&nbsp; As you find yourself using certain items over and over you will slowly remember those keys and learn them at your own pace.&nbsp; Furthermore, those refactorings that do not have a mapping are still available using this aggregate key. I often use &#8220;Pull Members Up&#8221; to &#8220;pull&#8221; a new method into the class&#8217;s Interface saving me time from the tedious cut and paste. This is a huge win for discoverability as I would never have known this refactoring existed without &#8220;Refactor This&#8221;.</p>
<h3>Navigate From Here</h3>
<p>ReSharper offers an aggregation key for Navigating your code that is just as powerful as <em><strong>Refactor This</strong></em>.</p>
<p><a href="http://randypatterson.com/images/BeginningReSharper_118B7/image_3.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="31" alt="image" src="http://randypatterson.com/images/BeginningReSharper_118B7/image_thumb_3.png" width="404" border="0"></a> </p>
<p>&nbsp;</p>
<p><a href="http://randypatterson.com/images/BeginningReSharper_118B7/image23.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="140" alt="image" src="http://randypatterson.com/images/BeginningReSharper_118B7/image23_thumb.png" width="454" border="0"></a> </p>
<p>Using these two keys you gain access to most of what ReSharper has to offer and allows you to discover which Refactoring and Navigation features you like most, without the hassle of learning everything first.&nbsp; </p>
<h3>Now What</h3>
<p>When beginning ReSharper there are a few steps I highly recommend.</p>
<ol>
<li>Download the <a href="http://www.jetbrains.com/resharper/docs/ReSharper40DefaultKeymap2.pdf">ReSharper Key Map</a> file
<li>Print the Key Map and hang it near your monitor where you can easily find it
<li>Highlight the &#8220;<em><strong>Navigation From Here</strong></em>&#8221; and &#8220;<em><strong>Refactor This</strong></em>&#8221; keys
<li>Highlight a <strong>few </strong>other important keys so you can quickly locate them when needed</li>
</ol>
<p>&nbsp;</p>
<p>Below is a link to the ReSharper map containing keys I find most useful highlighted for you.</p>
<p>&nbsp;<iframe style="border-right: #dde5e9 1px solid; padding-right: 0px; border-top: #dde5e9 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 3px; border-left: #dde5e9 1px solid; width: 240px; padding-top: 0px; border-bottom: #dde5e9 1px solid; height: 66px; background-color: #ffffff" marginwidth="0" marginheight="0" src="http://cid-a368b40efafbe8fa.skydrive.live.com/embedrowdetail.aspx/Public/Resharper%20KeyMap.png" frameborder="0" scrolling="no"></iframe></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Beginning+ReSharper&amp;url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;title=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Beginning+ReSharper+@+http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/&amp;t=Beginning+ReSharper" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://RandyPatterson.com/index.php/2008/10/04/beginning-resharper/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resharper Tip #1 &#8211; Highlight Usages</title>
		<link>http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/</link>
		<comments>http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 05:28:06 +0000</pubDate>
		<dc:creator>randypatterson</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[ReSharper]]></category>

		<guid isPermaLink="false">http://localhost/2008/07/13/ResharperTip1HighlightUsages.aspx</guid>
		<description><![CDATA[I just love ReSharper (R#) by JetBrains, it has substantially increased my productivity while writing, and navigating code. 
Quickly highlight all usages of a symbol within the current file.&#160;&#160; To use,&#160; place your cursor on the Type or Variable that you want to highlight then press Shift+Ctrl+F7
 
The Write operations are highlighted in light Red [...]]]></description>
			<content:encoded><![CDATA[<p>I just love <a href="http://www.jetbrains.com/resharper/" target="_blank">ReSharper</a> (R#) by JetBrains, it has substantially increased my productivity while writing, and navigating code. </p>
<p>Quickly highlight all usages of a symbol within the current file.&nbsp;&nbsp; To use,&nbsp; place your cursor on the Type or Variable that you want to highlight then press Shift+Ctrl+F7</p>
<p><a href="http://randypatterson.com/images/ResharperTip1HighlightUsages_11F56/image.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="324" alt="Highlight Usages" src="http://randypatterson.com/images/ResharperTip1HighlightUsages_11F56/image_thumb.png" width="668" border="0"></a> </p>
<p>The Write operations are highlighted in light Red and the Read operations are highlighted in light Blue.&nbsp; Pressing ESC removes the highlights. Furthermore, the R# Marker Bar to the right of your code uses to same colors to highlight all usages in the current file.&nbsp; Just click on the horizontal mark to quickly navigate to the usage.</p>
<p><a href="http://randypatterson.com/images/ResharperTip1HighlightUsages_11F56/image_3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://randypatterson.com/images/ResharperTip1HighlightUsages_11F56/image_thumb_3.png" width="128" border="0"></a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages&amp;url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;title=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Resharper+Tip+%231+%26%238211%3B+Highlight+Usages+@+http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/&amp;t=Resharper+Tip+%231+%26%238211%3B+Highlight+Usages" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://RandyPatterson.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://RandyPatterson.com/index.php/2008/07/13/resharper-tip-1-highlight-usages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
