ReSharper Ultimate 10.1 EAP 5

A new EAP build of ReSharper Ultimate 10.1 is now available for download. We continue to stabilize and improve the upcoming 10.1 release, and here is what we have added this week:

ReSharper

Dedicated action for reformatting code

In early versions of ReSharper, ‘Reformat Code’ was the only code style feature and it proudly possessed its own action. In version 4.0, back in 2008, a number of new code style features were added, ‘Reformat Code’ was replaced by ‘Code Cleanup’ and became a part of it. ‘Code Cleanup’ has been further evolving and now includes more than a dozen features in most of supported languages, and so we felt like ‘Reformat Code’ got lost among all these features.

Therefore, we decided to restore the dedicated action for reformatting code, which you can now invoke from the main menu (ReSharper | Edit | Reformat Code) or with a shortcut (Ctrl+Alt+Enter in Visual Studio scheme or Ctrl+Alt+L in ReSharper 2.x/IntelliJ IDEA scheme).

As before, the scope of reformatting code depends on the context:

  • If there is a selection in the editor, the selection is refomatted.
  • If the cursor is in the editor without selection, the whole document is refomatted.
  • If the focus is in the Solution Explorer, all documents in the selected solution nodes are reformatted.

Full support for TypeScript 1.8

If you are experimenting with TypeScript 1.8, you can be sure that ReSharper fully understands every single one of the latest TypeScript features. This includes type parameter constraints, stateless JSX components, augmenting global/module scope, string literal types, and this-based type guards.

File Structure for JSON documents

Initial support for JSON files and schemas, which was introduced earlier in ReSharper Ultimate 10.1 EAP, is now complemented with the File Structure view:
File Structure for JSON documents

Here is the full list of fixes for ReSharper in this EAP build.

dotCover

dotCover 10.1 now speeds up test execution in Continuous Testing for MSTest and xUnit tests by pre-loading test runners. Previously, this was only available for NUnit tests.

Another improvement applies to the relationship between dotCover console runner and TeamCity. TeamCity is now tuned to understand the output of the console runner and can highlight its errors and warnings in the build log:

dotCover errors in TeamCity log

dotMemory Unit 2.2

Along with this ReSharper Ultimate build, we have published an EAP build of dotMemory Unit, our .NET memory testing framework. This includes the following improvements:

  • Object selection queries now support open generic types, which is useful if you want to get all substitutions of your generic type.
  • You can select objects by wildcards using the Like and NotLike queries on types, interfaces, and namespaces.
  • Improved performance of key queries: Type.Is, Interface.Is and Namespace.Like.
  • Tests that execute queries from child processes are now handled correctly.

dotMemory Unit 2.2 new object selection queries

We welcome you to participate in this early access program and download the latest ReSharper Ultimate 10.1 EAP build.

If you have any feedback to share, please do so here in the comments or use issue trackers of affected products: ReSharper, ReSharper C++, dotTrace, dotCover, dotMemory, dotPeek.

This entry was posted in How-To's and tagged , , , , . Bookmark the permalink.

17 Responses to ReSharper Ultimate 10.1 EAP 5

  1. Pingback: Dew Drop – March 9, 2016 (#2204) | Morning Dew

  2. Mike-EEE says:

    You’re doing great work, Team ReSharper! Very happy and proud to use your product!

  3. Great!

    What about reformatting code when saving a file, in a non-blocking way, that would be just fantastic!

  4. Richard Moss says:

    Regarding TypeScript, are there any plans for improving the formatting of TSX files? I’m finding Resharper currently doesn’t do very little with JSX elements, and generally doesn’t seem to reformat TSX files well at all.

    • Dmitry Matveev says:

      Hi Richard,
      This is once again a known issue. Unfortunately, this one will not make it into 10.1 but hopefully, we’ll fix it in the next version. Please don’t hesitate to watch and upvote the issue.

  5. Mike-EEE says:

    Ahhh… I just installed EAP5 and it seems to have uninstalled all my Ultimate Extensions. Is this a known issue? This seems like something that should be warned about before installing if so. Now I have to go through and find all the extensions I had installed again. :(

    • Mike-EEE says:

      And on that note… I had xUnit runner installed and it looks like it is no longer available? I do not see any of my xUnit tests anymore and cannot run them. Bummer. It would be nice to see all the extensions I lost, but I will be returning to 10.0.2 for now.

    • Mike-EEE says:

      Sorry for being chatty here (if you used Disqus — http://disqus.com — for your community engagement I could simply edit my previous comment with this new information, FWIW!), but reverting back to 10.0.2 restored all my extensions… WHEW!

    • Mike-EEE says:

      Since no one from JetBrains replied to this. 😛 I will make it clear here and specify that EAP5 appears to install into a different “hive” that is basically a different environment from what the current RTM is installed. So, you will “lose” any extensions installed as you are essentially/basically working in a new environment. Uninstalling the EAP will return you back to your previous environment with your extensions intact.

      It would definitely be great to see some sort of warning/description about this during the install process from JB so that newbs like me to this process are not taken aback. If there is already a warning/description then I was too busy/careless to read/see it FWIW. :p

  6. Pingback: The Morning Brew - Chris Alcock » The Morning Brew #2049

  7. Pingback: Firefox 45, Meteor Galaxy für alle & Joomla! 3.5 RC

  8. Drew Noakes says:

    Looks like this is going to be a great release. It’s nice to see these blog posts along with each EAP version too.

    On the reformat code feature, Ctrl+Alt+L is already used for focussing the Solution Explorer. That’s already burned into the memory of anyone who tries to avoid using the mouse as much as possible. Why not extend Ctrl+Alt+F with Ctrl+Alt+Shift+F?

  9. Sebastian says:

    Unfortunately, solution wide analysis gets worse with every version. It just reported 980 errors on a solution that builds totally fine (and where R# 10.0.2 didn’t report any errors – as there are none). Not even a rebuild or restarting Visual Studio helps anymore. Hope that this gets fixed for the final version.

    • Dmitry Matveev says:

      Thanks for your feedback, Sebastian.
      Things like that can happen after upgrade because of stale caches. Please try Resharper > Options > Environment > General > Clear Caches and then
      Restart Visual Studio. If thins doesn’t help, could you plese share what kind of projects are affected and what kind of false errors are there?

  10. Beu Alexandru says:

    Great work.

Leave a Reply

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