visual studio productivity tools
DESCRIPTION
This presentation looks at what has changed in the Visual Studio world in regards to plugins and how they are created. It then covers the two heavy weights: CodeRush and Resharper and ends with some other plugins worth your attention.TRANSCRIPT
Braai Rules
• Don’t talk about– Politics– Religion
• Coke vs. Pepsi• Emacs vs. Vi• CodeRush vs. Resharper • IE vs. FireForx vs. Chrome• iPhone vs. Android vs. WP7
My bias: Coke, Emacs, CodeRush, IE, uh?
Visual Studio AddOn Support
• Visual Studio 2010– MEF– Big investment– Visual Studio Gallery
• Visual Studio 2010, 2008, 2005– COM+ Based Plugins– .NET wrapper
What does an add-in look like?
• Demo
In the Gallery?
Third party. Lots of new features
Microsoft. Proving ground for future editions.
Microsoft. Way of sorting out references.
Third party. Way to visualise code.
Microsoft. Lots of features for TFS
Microsoft. Lots of new features.
Third Party. LOTS of new features
Third party. Controls for ASP.NET
Microsoft. Change VS colours
Third party. Change default VS browser
2.3 million in top 10 downloads!
Gallery Support in Visual Studio
• Demo
Heavy weights
• CodeRush– DevExpress– Free edition
• ReSharper– R#– JetBrains– More Popular
Both CodeRush & R# do
• Code Analysis• UI Indications • Solution Wide Analysis• Quick Fixes• Navigation Assistance • Localisation• Code Completion• Templates• Unit Test Runners• Extensions
Let’s see CodeRush
• Demo
CodeRush vs. R#
CodeRush R#
Commercial Cost $249 per developer $249 per developer
Indications while you code of things to fix
Yes Yes
One click reformatting
Yes Yes
Full solution analysis Yes, off by default Yes
Learning Curve High High
CodeRush vs ReSharper
CodeRush Wins ReSharper WinsRefactoring – fewer key strokes Ability to apply formatting and
refactoring rules all at once (one key fix)
More refactorings Some key refactorings not in CodeRush
Better identification of memory leaks in non-managed code
More code issues reported
Many more snippets – much less typing but you have to remember the short-cuts
Better Intellisense supplement
Terrific real-time learning, context sensitive window
Possibly more focused on C# and less on non-managed code
Better support for Unit Testing Better searching
source: http://jesseliberty.com/2010/05/28/code-rush-vs-resharper/
Which should you use?
• If you use R# today: R#• If you use CR today: CR• If you use neither: Try + Measure
with CR Express
Extensions worth your attention
• StyleCop• GhostDoc• Productivity Power Tools
Questions?