Ran across a great utility in Resharper to help with code navigation. It comes in particularly handy when you come across one of these:
To get your app back to working order, Resharper will analyze the stack trace and then show hyperlinks so you can jump into the code that dealt the problem. Here’s how:
Now go back to Visual Studio and launch the Resharper feature (Intelli-J bindings use CTRL+SHIFT+E, Visual Studio bindings use CTRL+E, T).
When you launch the Stack Trace Explorer, your copied stack trace will already be inserted into the window and all of your user code class names/line numbers will be turned into hyperlinks. You can now easily click through to your code to see what’s up:
Previous ReSharper keyboard shortcut tips:
Part 8 – Bird’s Eye View of Class Files
Part 7 – Add New Files Quickly
Part 6 - Move Extracted Interfaces to Their Own File using ReSharper
Part 5 - Find the Next Error Using ReSharper
Part 4 - What To Pass?
Part 3 - Surround Your Code
Part 2 - Find Inheritors
Part 1 - Quick Documentation View
0 comments:
Post a Comment