<?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>Resharper Archives - smallworkarounds</title>
	<atom:link href="https://www.smallworkarounds.com/category/resharper/feed" rel="self" type="application/rss+xml" />
	<link>https://www.smallworkarounds.com/category/resharper</link>
	<description>Welcome to SmallWorkarounds</description>
	<lastBuildDate>Mon, 20 Mar 2017 11:45:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Resharper:- Visual Studio Refactor,Maximize your productivity-(Code Generation Techniques And Code Analysis Techniques)-Part1</title>
		<link>https://www.smallworkarounds.com/2008/12/resharper-visual-studio.html</link>
		
		<dc:creator><![CDATA[Aashish Kumar]]></dc:creator>
		<pubDate>Sat, 13 Dec 2008 20:31:00 +0000</pubDate>
				<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Resharper]]></category>
		<guid isPermaLink="false">https://www.smallworkarounds.com/index.php/2008/12/13/resharper-visual-studio/</guid>

					<description><![CDATA[<p>Resharper is one of the most widely used utility for the .net Developers who use Visual Studio,it can be either [&#8230;]</p>
<p>The post <a href="https://www.smallworkarounds.com/2008/12/resharper-visual-studio.html">Resharper:- Visual Studio Refactor,Maximize your productivity-(Code Generation Techniques And Code Analysis Techniques)-Part1</a> appeared first on <a href="https://www.smallworkarounds.com">smallworkarounds</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Resharper is one of the most widely used utility for the .net Developers who use Visual Studio,it can be either VS2005 or VS2008.Every person who wants to be more efficient,productive and do smart coding should always use refactoring. Although VS2008 has bunch of refactoring features inbuilt but they are not sufficient if you do a lot of work in Visual Studio.For this kind of situations Resharper is a must have add-on and its price is worth its value. In this series of my articles i will try to explain you with many of its features related to refactoring and some of its other powerful stuffs. Although there can be a learning curve in mugging up some keys but once you practice them in your daily coding and make it a habit, you will find that your productivity has increased a lot.</p>
<h3><strong>First Let&#8217;s See some of the Code Generation Techniques using Resharper</strong></h3>
<ul>
<li><strong>Creating File from Template</strong></li>
</ul>
<ol>
<li>You can just press <strong>Ctrl+Alt+L </strong>to open the solution Explorer</li>
</ol>
<p>From inside the solution Explorer just press <strong>Alt+Insert</strong> to open the generate file from Template smart navigation as shown below</p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:b7fd5296-adec-4209-9d79-968b099c8917" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img fetchpriority="high" decoding="async" style="border: 2px;" src="http://lh3.ggpht.com/_UE1MjS8wccA/SUPkTiwtYhI/AAAAAAAAAic/wO3bJ464Zx4/s800/CreateFilefromTemplate.jpg" width="290" height="435" /></div>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:048e8cbd-ed31-4005-920f-a47f22985ca8" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh5.ggpht.com/_UE1MjS8wccA/SUPf9peXiaI/AAAAAAAAAio/_5g-k3JlTrs/s800/Createclass.jpg" width="304" height="142" /></div>
<ol>3. This will create a new Class called Person and put it inside the required Namespace.</ol>
<ul>
<ul>4.You can create a new class,Interface,Structure in the similar fashion.</p>
<li>
<div align="justify"><strong>Surround With Template</strong></div>
<ul>
<li>Just Select the region you want to Surround with a region and then press <strong>Ctrl+E,U</strong></li>
<li>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:986b507e-2fd6-4243-97b1-455c97fcc858" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh3.ggpht.com/_UE1MjS8wccA/SUQAyq0M5_I/AAAAAAAAAjM/yhtTbsvocqg/s800/SurroundWithTemplateCodeGeneration1.jpg" width="473" height="204" /></div>
</li>
</ul>
</li>
</ul>
</ul>
<blockquote><p><strong>To remove the region surrounding again to its original just press Alt+Enter on the region bubble and Press Remove Region</strong></p>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:2d8b872a-8d1f-4f40-ab9d-d1543f750b69" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh5.ggpht.com/_UE1MjS8wccA/SUP7zjYzbOI/AAAAAAAAAjA/hWkoS0ZxpQs/s800/SurroundWithTemplateCodeGeneration.jpg" width="362" height="155" /></div>
</blockquote>
<ul>
<ul>
<li>
<div align="justify"><strong>Insert Live Template</strong></div>
<ul>
<li>
<div align="justify">To insert live template just press <strong>Ctrl+E,L</strong></div>
</li>
<li>
<div align="justify">Live template can be used to insert various code templates some of which are frequently used such as enum,interface,#region,prop etc&#8230;</div>
</li>
<li>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:bdb1e6b7-3d62-4df2-b933-2edacb0581d2" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh6.ggpht.com/_UE1MjS8wccA/SUP9VUbNtAI/AAAAAAAAAjE/D7t7uauPl_g/s800/InsertLiveTemplateCodeGeneration.jpg" width="658" height="214" /></div>
</li>
</ul>
</li>
<li>
<div align="justify"><strong>Insert some common code using Alt+Insert inside a file</strong></div>
<ul>
<li>
<div align="justify">Just Press <strong>Alt+Insert </strong>inside a file to get a number of code generation templates including creating Constructors,Properties,readonly properties,implementing missing members,overriding members,delegating members,equality members,formatting members.</div>
</li>
<li>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:1550d7c7-fb24-46fe-acd5-e2ae0db161f4" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh4.ggpht.com/_UE1MjS8wccA/SUQMSKszFJI/AAAAAAAAAjU/jTbQ-AMXyLg/s800/GenerateCodeCodeGeneration.jpg" width="236" height="243" /></div>
</li>
</ul>
</li>
</ul>
</ul>
<blockquote></blockquote>
<h3><strong>Code Assistance And Analysis using Resharper</strong></h3>
<ul>
<li>
<div><strong>Moving the Code Block Up and Down</strong></div>
<ul>
<li>
<div>Just Press <strong>Ctrl+Shift+Alt+[Up] to move up or Ctrl+Shift+Alt+[Down] to move down.</strong></div>
</li>
</ul>
</li>
</ul>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:8a62d5ce-ce13-48e8-a12d-683f1c6a9a0c" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh4.ggpht.com/_UE1MjS8wccA/SUP6uhg69CI/AAAAAAAAAis/Ak0Em4ztHcU/s800/MoveCodeUpDownCodeAssistance.jpg" width="381" height="326" /></div>
<ul>
<ul>
<li><strong>Show available quick fixes and context actions</strong>
<ul>
<li>Most of the times you will make use of this shortcut,whenever you see a bulb in front of your code line you can just press <strong>Alt+Enter</strong> to see related quick fixes and context actions.</li>
</ul>
</li>
<li><strong>Symbol Code Completion</strong>
<ul>
<li>Shortcut for symbol code completion is <strong>Ctrl+Space</strong></li>
</ul>
</li>
<li><strong>Code Cleanup</strong>
<ul>
<li>Resharper includes a code cleanup module which can clean up your code according to some predefined set of rules</li>
<li>Just press <strong>Ctrl+E,C</strong>  prompt code cleanup and press <strong>Ctrl+E,F </strong>for silent cleanup</li>
</ul>
</li>
</ul>
</ul>
<div id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:70338cf1-f355-4d6b-9a9d-ccb83a89b8fe" class="wlWriterSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;"><img decoding="async" style="border: 2px;" src="http://lh4.ggpht.com/_UE1MjS8wccA/SUQVSa_OKwI/AAAAAAAAAjc/Dy7Z4OUiNK8/s800/CodeCleanup.jpg" width="581" height="459" /></div>
<ul>
<li><strong>Extending And Shrinking the Selection</strong>
<ul>
<li>For extending the selection just press <strong>Ctrl+Alt+RightArrow</strong></li>
<li>Fore shrinking the selection just press <strong>Ctrl+Alt+LeftArrow</strong></li>
</ul>
</li>
<li><strong>Comment with Line Comment</strong>
<ul>
<li>Just Press <strong>Ctrl+Alt+/ </strong>to comment with line comment.</li>
</ul>
</li>
<li><strong>Comment with Block Comment</strong>
<ul>
<li>Just Press <strong>Ctrl+Shift+/ </strong>to comment with block comment.</li>
</ul>
</li>
<li><strong>Duplicate or Copy and paste a line ore selection</strong>
<ul>
<li>Just press <strong>Ctrl+D </strong>to duplicate the selection or the line and this duplicated copy is inserted just after the line which is duplicated.</li>
</ul>
</li>
</ul>
<p>If you are new to Resharper you can download it from the below given link <a title="http://www.jetbrains.com/resharper/download/" href="http://www.jetbrains.com/resharper/download/">http://www.jetbrains.com/resharper/download/</a> Rest of the techniques will be covered in next article in this series which will be related to search assistance and navigation techniques using Resharper. So stay tuned for more &#8230;&#8230;&#8230; Happy Programming!!!!</p>
<p>The post <a href="https://www.smallworkarounds.com/2008/12/resharper-visual-studio.html">Resharper:- Visual Studio Refactor,Maximize your productivity-(Code Generation Techniques And Code Analysis Techniques)-Part1</a> appeared first on <a href="https://www.smallworkarounds.com">smallworkarounds</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SytleCop For Resharper 4.1 Updated and a new Release is out&#8230;Wow!!!</title>
		<link>https://www.smallworkarounds.com/2008/12/sytlecop-for-resharper-41-updated-and.html</link>
		
		<dc:creator><![CDATA[Aashish Kumar]]></dc:creator>
		<pubDate>Mon, 08 Dec 2008 09:50:00 +0000</pubDate>
				<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Resharper]]></category>
		<guid isPermaLink="false">https://www.smallworkarounds.com/index.php/2008/12/08/sytlecop-for-resharper-41-updated-and/</guid>

					<description><![CDATA[<p>StyleCop for Resharper is a Resharper4.1 plugin which allows Microsoft Style Cop to be run as we type and generates [&#8230;]</p>
<p>The post <a href="https://www.smallworkarounds.com/2008/12/sytlecop-for-resharper-41-updated-and.html">SytleCop For Resharper 4.1 Updated and a new Release is out&#8230;Wow!!!</a> appeared first on <a href="https://www.smallworkarounds.com">smallworkarounds</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>StyleCop for Resharper is a Resharper4.1 plugin which allows Microsoft Style Cop to be run as we type and generates real time syntax highlighting of violations</p>
<ol dir="ltr" style="margin-right: 0px;">
<ol>
<li>If you don&#8217;t know what Resharper is visit this page
<ol>
<li><a title="http://www.jetbrains.com/resharper/" href="http://www.jetbrains.com/resharper/">http://www.jetbrains.com/resharper/</a></li>
</ol>
</li>
<li>If you don&#8217;t know what Microsoft Style Cop is visit this link
<ol>
<li><a title="http://code.msdn.microsoft.com/sourceanalysis" href="http://code.msdn.microsoft.com/sourceanalysis">http://code.msdn.microsoft.com/sourceanalysis</a></li>
</ol>
</li>
<li>To download StyleCop For Resharper visit this link
<ol>
<li><a title="http://www.codeplex.com/StyleCopForReSharper" href="http://www.codeplex.com/StyleCopForReSharper">http://www.codeplex.com/StyleCopForReSharper</a></li>
</ol>
</li>
</ol>
</ol>
<p>Guys do check out this it will help you write cleaner code which is in accordance with specified standards. According to me Resharper and Style Cop are must have&#8217;s for a .net developer to code smartly and efficiently. More on this in upcoming posts&#8230;&#8230; Happy Programming!!!!!</p>
<p>The post <a href="https://www.smallworkarounds.com/2008/12/sytlecop-for-resharper-41-updated-and.html">SytleCop For Resharper 4.1 Updated and a new Release is out&#8230;Wow!!!</a> appeared first on <a href="https://www.smallworkarounds.com">smallworkarounds</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
