Visual Studio 2013 Support in ReSharper 8.1
This year we’ve seen something unprecedented: the release cycle for Visual Studio has shrunk to just one year, and Visual Studio 2013 came out with some pretty serious improvements across the board. ReSharper, as you can imagine, always tries to provide a seamless development experience, so in ReSharper 8.1 we’ve added support for two VS2013-specific features: peek definition and the enhanced scroll bar.
Just in case you haven’t seen it, the Peek Definition feature of VS2013 allows you to peek into the source code of a referenced entity right in the current editor window, without opening new tabs, simply by having the cursor on the piece of code you want to investigate and pressing Alt+F12:
ReSharper treats this ‘inset’ editor window as it would any other, so that navigation facilities (including the ability to show and navigate decompiled code) function just as they do in an ordinary editor window, with the exception that any code navigated to is also shown in the editor rather than in a separate tab:
ReSharper also uses the Peek Definition API for large result sets obtained from features such as Find Usages. These are shown on the right hand side of the peek definition window:
Finally, to make it even more convenient, we’ve added additional Ctrl-click shortcuts for more convenient navigation. Peek Definition can now be invoked by clicking while pressing Ctrl+Shift, and Go to Implementation can now be invoked by clicking with Ctrl+Alt.
Enhanced Scroll Bar
Visual Studio 2013 comes with an enhanced scroll bar — the vertical scroll bar area is now used not just to indicate position within the document, but also to indicate locations of code elements, Peek Definition windows, and so on.
ReSharper 8.1 integrates its own marker bar (previosly shown as a separate vertical area right next to the scroll bar) to show its errors on this new enhanced scroll bar. Here’s what it looks like:
ReSharper now uses the scrollbar to indicate errors, warnings, hints and suggestions. The horizontal markers are, as always, clickable (a click takes you to the offending line of code) and have tooltips describing the issue at hand.
If, for some reason, you want the old marker bar back, we give you this option, too. Simply open up ReSharper’s Options dialog and go to Environment | Editor | Editor Appearance and at the very bottom of the screen you should see the following settings:
The options here are fairly self-explanatory:
- Do not show error stripe hides the error stripe completely.
- Show error stripe bar shows the pre-VS2013 implementation of the marker bar as a separate bar. Choose this if you prefer the way things were in ReSharper 8.0 and earlier.
- Show marks over enhanced scroll bar is the option for integrating with the VS2013 scroll bar. If you choose this, you can also decide how big you want the error marks on this scroll bar to appear: we give you three settings to choose from.
So with that in mind, we hope you enjoy having ReSharper 8.1 work in tandem with Visual Studio 2013. While we’re getting the final release version ready, check out ReSharper 8.1 EAP builds and let us know what you think!
Subscribe to Blog updates
Thanks, we've got you!
Another Look into the Future with Rider’s Predictive Debugger
In the 2023.2 release cycle, we’ve introduced the Predictive Debugger in ReSharper, which gives you predictions about code paths and variables beyond the current execution pointer. We’ve written extensively about its advantages compared to alternative debugging strategies like thorough thinking, log…
Visualize Entity Framework Relationships and Additional Query Analysis in ReSharper 2023.3
A lot of teams are using Entity Framework or EF Core to work with their database. As an Object-Relational Mapper (ORM), it bridges objects in code to a relational database model, so that as a developer you don’t have to worry too much about the actual database. We all know: that’s not entirely tr…
Automatically Analyze ASP.NET Core Performance With Dynamic Program Analysis
Slow web pages may make your users or customers abandon your web application, even before they’ve had a proper look at it. You’ve likely also been frustrated working with a web application that is slow to load. The good news is that the latest versions of ReSharper and JetBrains Rider’s Dynamic P…
OSS Power-Ups: MassTransit – Webinar Recording
The recording of our webinar, OSS Power-Ups: MassTransit, with Chris Patterson, is available. This was the thirteenth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.…