0

How to enable/disable ReSharper(?) feature on screenshot?

enter image description here

Visual Studio 2013, ReSharper 8.1

1 Answer 1

3

There are 2 answers to this question: the first one is WHY??? This feature allows you to Ctrl+Left Click (or by selecting Go to Definition (Ctrl+B in IDEA keyboard scheme, F12 in Visual Studio keyboard scheme), it asks you where you want to go: either to the List.cshtml view (deduced by the List() action inside your controller), or to the definition of the base.View() method, which will be decompiled automatically by ReSharper (if you have decompilation enabled in ReSharper Options).

If in any event you want turn off those features for ASP.NET MVC, you can do this in ReSharper Options by going to Code Editing → ASP.NET → MVC, and unchecking Enable ASP.NET MVC References. Please note that this will disable ReSharper's enhancement of all ASP.NET MVC elements - HtmlHelpers in ActionLinks, etc.

Sign up to request clarification or add additional context in comments.

1 Comment

This option no longer seems to be present. Any idea where it's hidden on newer versions?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.