Peek definition (Alt+F12) no longer does anything

2019-06-21 05:15发布

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?

2条回答
干净又极端
2楼-- · 2019-06-21 05:36

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.)

查看更多
Rolldiameter
3楼-- · 2019-06-21 05:51

Had similar issue and the fix was simply resetting the hotkey Alt+F12 to peek in Visual Studio with following steps:

  1. Go to Tools->Options->Environment->Keyboard
  2. Select (or search) the key Edit.PeekDefinition and click on Remove
  3. Inside the textbox near Assign button press Alt+F12
  4. Finish by pressing Assign and OK buttons

Here is an image for steps just in case you need:

enter image description here

PS. This solution also worked when Intel Graphics was opening on Alt+F12

查看更多
登录 后发表回答