ReSharper 5.0 has awesome ASP.NET MVC support

Here’s a cool gem I discovered when running the ReSharper 5.0 EAP.  Clicking CTRL+B on “return View()” in a controller action has the option to navigate directly to the view that belongs to the action.  No more trying to find the _right_ “Index.aspx” file.

CropperCapture[9]

Comments

Lorenzo Van Eenoo said on 12.31.2009 at 3:05 AM

Visual Studio does have support for this out of the box, albeit a little cumbersome:

Go To View: Ctrl+M, Ctrl+G

Go To Controller: Ctrl+M, Ctrl+G

Really looking forward to ReSharper 5.0 though.

Ricardo said on 12.31.2009 at 7:48 AM

Thank you, this a great find!

Jeffrey Palermo said on 12.31.2009 at 8:13 AM

@Lorenzo,

Yes, The MVC VS tooling has the shortcut, but being integrated into "GoToDeclaration" is really nice.

Jack said on 1.11.2010 at 2:27 AM

Nice! I like re-sharper, it save me lots of time