While Goto Defnition
works as expected with key F12,
the hotkey Alt+F12 for Peek Definition
no longer does anything.
How do I restore Alt+F12 functionality?
Enter Tools > Options > Environment > Keyboard and press the Reset button. Click OK to save changes.
If you are a keyboard user, place your text cursor somewhere inside the symbol name and press F12. If you are a mouse user, either select Go To Definition from the right-click menu or use the Ctrl-click functionality described in the following section.
Go to Definition If a language supports it, you can go to the definition of a symbol by pressing F12. Tip: You can jump to the definition with Ctrl+Click or open the definition to the side with Ctrl+Alt+Click.
One cause of this is Nvidia GeForce Experience intercepting Alt presses while listening for Alt+Z, which is the activation toggle for Nvidia ShadowPlay.
I fixed this by opening GeForce Experience and going Settings -> Share -> Off.
(Activating screen recording is left as an exercise for the reader.)
Had similar issue and the fix was simply resetting the hotkey Alt+F12 to peek in Visual Studio with following steps:
Tools->Options->Environment->Keyboard
Edit.PeekDefinition
and click on Remove
Assign
button press Alt+F12
Assign
and OK
buttonsHere is an image for steps just in case you need:
PS. This solution also worked when Intel Graphics was opening on Alt+F12
In GeForce Experience, remove the Alt+F12 keyboard mapping for Toggle FPS Counter on/off
found in:
Settings -> General -> In-Game Overlay -> Settings -> Keyboard Shortcuts
This fixes this issue without disabling the whole In-Game Overlay
feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With