ReSharper 7.0 Plug-ins

ReSharper 7.0 was only released a couple of weeks ago, and it’s a testament to the plug-in community that so many plug-ins are already up-to-date with the new version. We’re going to take a more in-depth look at some of these plug-ins soon, but for now, here’s a quick overview of some of the more popular plug-ins that already support ReSharper 7.0.

  • AgUnit — run and debug Silverlight unit tests, with support for MSTest, NUnit and xUnit.net.
  • MSpec — the MSpec context/specification testing framework has been updated to support ReSharper 7.0.
  • xunitcontrib — unit test support for xUnit.net.
  • StyleCop — StyleCop analyses your source code and enforces a given coding style. The ReSharper plug-in they provide does this as you type, underlining violations of your chosen policy, and providing many context actions that automatically fix the violation, for example, moving a “using” block into the namespace declaration, rather than above it.
  • JSLint for ReSharper — runs the JSLint tool against your JavaScript files, providing familiar ReSharper squiggly underlines for errors and warnings.
  • Agent Smith — provides spell checking for your code and formatting actions for XML documentation.
  • Agent Mulder — support for Dependency Injection frameworks such as Autofac, Castle Windsor, Unity. Since ReSharper doesn’t know about these containers, classes can frequently be marked as unused, or not instantiated. Agent Mulder tells ReSharper when these classes are being used, and provides navigation to the registration point from each class.
  • GammaXaml — provides lots of very useful additions to ReSharper’s XAML support, including context actions to add grid layout definitions or remove XAML attributes, marking unused attached properties as “dead code”, validating element names in binding and more. The latest version also provides support for the convention over configuration approach used by the Caliburn.Micro MVVM framework.
  • ReSharperExtensions — a very useful Live Template macro that will replace spaces for underscores when typing, such as creating a method name.
  • Catel.ReSharper — provides a couple of context actions to support the Catel MVVM framework.
  • Agent Johnson — provides a number of useful context actions and refactorings.

And there are more on the way — for example, the Gallio plug-in, providing support for the MbUnit testing framework is currently being updated.

It’s well worth pointing out that all of these plug-ins are open source, so please feel free to contribute! Anything from feature suggestions to bug reports, to code or even a simple vote of thanks.

And if you want to start developing a plug-in yourself, you can download the SDK and check out the development guide (and not forgetting ReSharper 6 users, the 6.x SDK is still available, as is the 6.x plug-in development guide). We’ll also come up a blog post soon covering new important updates that have been implemented in ReSharper 7 SDK, so stay tuned.

This entry was posted in dotTrace Tips&Tricks, How-To's, News and Events and tagged , , . Bookmark the permalink.

8 Responses to ReSharper 7.0 Plug-ins

  1. Ryan Hoffman says:

    This may be great, but it always seems that the plugins that my org uses never make the jump early. We are going to be stuck on 6.x until the mbunit plugin is updated.

    “And there are more on the way — for example, the Gallio plug-in, providing support for the MbUnit testing framework is currently being updated.”

    For R# 5.0 -> 6.0, the Gallio plugin took MONTHS to be released. Jetbrains does not develop this plugin, so is there some source that you could point us to stating this? I tried to Google it, and there is nothing. There is even no issue that I can find in their bug tracker.

    Why does the plugin model need to change every version? It’s a lot to ask for every plugin to upgrade every time you to. My #1 feature for R# 8 is a stable SDK which does not need plugin updates every release.

  2. Hadi Hariri says:

    @Ryan,

    Our intention is also to stabilize the SDK, however, losing some backward compatibility is a trade-off that is sometimes required.

    One of Matt’s roles is to make sure that by release time the majority of plug-ins are available and working, and he’s done a great job in doing so, even if that’s meant contributing with code himself. Unfortunately some, for one reason or another (and as you note yourself, we don’t control the projects), have not happened. Gallio is currently being worked on and they have our full support.

  3. Meixger says:

    missing Zen Coding Plugin …

  4. Dmitri Nesteruk says:

    @Meixger: at the moment, the Zen Coding plugin is distributed in source form as part of the ReSharper SDK.

  5. charlese bretana says:

    I second that thought. It is a major issue that I have had to wait to adopt every recent Resharper release because the Unit testing tool my company uses (Gallio) is not ready for several months after Resharper is released.

  6. Matt Ellis says:

    I agree it can be frustrating. We try our best to liaise with the third party authors to help get the plugins updated and released in good time, but the reality is that it is the author’s responsibility to actually produce the release.

    While we do talk to the plugin authors, it is always good for them to get feedback from actual users. A good course of action is to let the author know that you’re interested in a new version. Also, the vast majority of these plugins are open source, which is a fantastic opportunity to build your own version, and even contribute changes back to the project.

    For Gallio, you can add an issue in the issues list (http://code.google.com/p/mb-unit/issues/list) requesting a new version supporting ReSharper 7 (it doesn’t look like anyone’s raised an issue yet) or you can simply download the source and build your own version – the source already provides support for ReSharper 7.

  7. Kris says:

    How Zen-coding work in Resharper.

  8. Matt Ellis says:

    The Zen-coding plugin is a sample currently available as part of the SDK (http://www.jetbrains.com/resharper/download/index.html). Once you’ve installed the SDK, you need to build the sample and copy into %LOCALAPPDATA%JetBrainsReSharperv7.0plugins

    To use it, you should be able to type something like:

    ul>li*3

    and it should then generate:

    <ul><li></li><li></li><li></li></ul>

    That is (assuming the html makes it through the filter) a ul element, with three li child elements.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">