ReSharper 7: Summary of Main Features
September 13th, 2012 by Hadi HaririIt’s been over one and a half months since the release of ReSharper 7, and in that timeframe we’ve already rolled out a minor update fix (7.0.1). Microsoft, on its part, has yesterday officially launched Visual Studio 2012 which ReSharper 7 has been firmly supporting from the very start.
We’ve been posting on some of the new features that are included in ReSharper 7, so we thought it’s about time to do a summary post for your convenience. This list is by no means all-inclusive and there are still other interesting areas we’re going to be writing about.

- What’s inside ReSharper 7. Quick summary of key features. Would this make this post a Meta-Summary then?
- How exactly ReSharper 7 supports Visual Studio 2012. A list of features specific to Visual Studio 2012.
- Windows Runtime support. Must-have features if you’re doing WinRT development.
- INotifyPropertyChanged support . Helping developers get rid of the burden of properties changing.
- Code generation improvements. Highlighting some new features and improvements for code generation (when it’s absolutely necessary).
- Unit testing improvements. Includes enhancements to NUnit, support for Jasmine and JSPhantom.
- SharePoint and LightSwitch support. Providing support for these technologies in terms of namespaces, correct code analysis et al.
- New refactorings. This includes the highly requested Extract Class refactoring as well as Transform Out Parameters.
- Contract annotations. Setting code contracts to improve the quality and insight of ReSharper code analysis with regard to your specific code base.
- New code inspections. Speaking of code analysis, ReSharper 7 brings more assorted code inspections to remove potential problems in code.
- JavaScript support improvements. We added over 30 context actions to improve tooling for JavaScript.
- Member hierarchical views. Extending hierarchy views to apply to members and not only types.
In addition, we’ve worked hard with the plug-in developers to ensure that the majority of extensions for ReSharper would be available for version 7 for it’s release. You can find a complete list of compatible plug-ins for ReSharper 7.
Finally, we also held a Webinar on ReSharper 7 which was recorded and posted on JetBrains TV among other insightful videos.
Tags: ReSharper, ReSharper 7

September 13th, 2012 at 10:46 pm
Is there a way to annotate parameters on certain methods that behave the same as parameters on RS known classes? (For example, the string.Format “knows” that the string will have placeholder and RS checks that the number of parameters has to be equals to the number of placeholders… But that works only for that method on that class… If I have a class with a method that behaves the same, I would like to decorate its parameters to achieve the same smart behavior by RS).
Same applies to Controllers/Views in asp.mvc…
September 14th, 2012 at 1:32 pm
@CheloXL:
Reference the JetBrains.Annotations assembly, or copy the implementation to your projects (ReSharper > Options > Code Inspection > Code Annotations > Copy default implementation to clipboard). Then annotate your String.Format-like method with StringFormatMethodAttribute, and your MVC controller/view parameters with AspNetMvcControllerAttribute/AspNetMvcViewAttribute. Hope it helps.
September 14th, 2012 at 2:41 pm
Oh, didn’t know those existed… where can I find documentation on that? I’m already using the code annotations, but usually for null/not null checking and other stuff…
September 20th, 2012 at 8:50 am
HI, I find one bug;
when I use resharper 7 in silverlight project(VS2010 and VS2102) XAML file, control namespace not import, I use shortcut key Ctrl+Enter , show Import namespace. I selected it but do nothing.
September 20th, 2012 at 10:29 am
@Franz The Import Namespace pop-up should proceed to import when you press Alt+Enter, not Ctrl+Enter. Does this help?