Can you turn off Peek Definition in Visual Studio 2013 and up?

Visual Studio-2013Visual Studio-2015Productivity Power-Tools

Visual Studio-2013 Problem Overview


In Visual Studio 2013 and up, there is the Peek Definition feature when you Ctrl + Click. At first I thought this was cool, but I have found that the majority of the time, I need to click the Promote to Document button, since I make lots of changes to the files I Ctrl + Click on. But after Googling how to turn off Peek Definition, I can't find any details on if this is possible. What I would really like is for the Ctrl + Click functionality to go back to opening the definition in its own tab, like in previous versions of VS. Is this possible?

Visual Studio-2013 Solutions


Solution 1 - Visual Studio-2013

In pre 2017 Visual Studio:

ToolsOptionsProductivity Power ToolsOther ExtensionsControl click shows definitions in Peek

Adam Garner pointed out that in Visual Studio 2017, the location is:

ToolsOptionsText EditorGeneralEnable mouse click to perform Go to Definition

Solution 2 - Visual Studio-2013

If you have Resharper AND Productivity Power Tools, by default this will cause ctrl + click to go to definition AND peek the definition. Very annoying. The solution from @SnowFatal will turn off the peek functionality. Resharper's option is listed as "Go to Declaration on <Control + Left Click> in the editor".

Solution 3 - Visual Studio-2013

In the latest version of Visual Studio 2017 (15.4.0) it is:

ToolsOptionsText EditorGeneralEnable mouse click to perform Go to Definition

You can either disable it by unchecking the box, or set a different key to trigger the mode.

Solution 4 - Visual Studio-2013

Ctrl + Click -> Peek Definition is actually enabled by Productivity Power Tools. If you disable "Ctrl + Click Go To Definition" in Productivity Power Tools options then this behaviour will disappear.

Solution 5 - Visual Studio-2013

For Visual Studio 2017 it is:

ToolsOptionsProductivity Power ToolsGeneralControl click shows definitions in Peek

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJohn WashamView Question on Stackoverflow
Solution 1 - Visual Studio-2013SnowFatalView Answer on Stackoverflow
Solution 2 - Visual Studio-2013JasonView Answer on Stackoverflow
Solution 3 - Visual Studio-2013Adam GarnerView Answer on Stackoverflow
Solution 4 - Visual Studio-2013AncientSyntaxView Answer on Stackoverflow
Solution 5 - Visual Studio-2013FkaView Answer on Stackoverflow