ReSharper - what a great Visual Studio add-in!
One of newest toys I recently purchased is ReSharper from JetBrains. What an awesome little add-in for Visual Studio! It is such a time saver in so many ways.
This add-in spends a lot of time checking the code on your screen giving you all sorts of cues as to the health of the file. Most of the cues are next to the scroll bar for the editor window. You’ll see a small square at the top of the scroll bar that comes in three colors: red, yellow and green. And then there are lots of thin bars further down that represent the state of a line of code. If you click on the colored line the editor immediately jumps to that line in the code. Click one on that line of code and a light bulb appears at the beginning of the line. Click on the light bulb and suggestions appear to correct the problem. How cool is that? Sometimes the problem is unused directives in a file – other times it is suggesting you use ‘var’ instead of a data type. Other times it suggests you make changes by putting a squiggly underline in your code. If you hover over it you get the suggestion.
ReSharper also supports refactoring. What is refactoring? Here’s the definition according to the industry giant, Martin Fowler:
Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.
Mr. Fowler runs a website aptly called www.refactoring.com that lists out all of industry standard refactoring templates with examples. While ReSharper doesn’t cover all of the refactorings it does cover quite a few of most common ones.
ReSharper also covers Unit Testing, Navigation & Search and Code Templates. I haven’t gotten into these features as of this writing however I certainly plan to in the near future. Definitely more features than I can cover here however it is definitely worth at least downloading the trial version and taking for a test drive. You can find out more about ReSharper at http://www.jetbrains.com/resharper/index.html.