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?
相关问题
- Custom controls disabled. There was an internal is
- Is It possible to build asp.net core project using
- Visual Studio — does not create exe file
- Error executing 010_add_platform_class.js using VS
- Websphere MQ C++ client crashes in VS2013- library
相关文章
- Web Test recorder does not allow me to record a te
- The program '[4432] iisexpress.exe' has ex
- Build errors of missing packages in Visual Studio
- Visual Studio 2015 JSX/ES2015 syntax highlighting
- How to disable CodeLens' references display in
- Edit & Continue doesn't work
- Breakpoint in ASP.NET MVC Razor view will not be h
- Why doesn't my .tfignore file ignore my packag
For Visual Studio 2017 it is:
Tools→Options→Productivity Power Tools→General→Control click shows definitions in Peek
In pre 2017 Visual Studio:
Tools→Options→Productivity Power Tools→Other Extensions→Control click shows definitions in Peek
Adam Garner pointed out that in Visual Studio 2017, the location is:
Tools→Options→Text Editor→General→Enable mouse click to perform Go to Definition
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".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.
In the latest version of Visual Studio 2017 (15.4.0) it is:
Tools→Options→Text Editor→General→Enable 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.