F12 no longer works in Visual Studio

前端 未结 17 1161
旧时难觅i
旧时难觅i 2021-01-30 04:49

This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer seems to work. If you look at the all the ReSharper short cuts in the Goto sub menu Declar

相关标签:
17条回答
  • 2021-01-30 05:30

    I had the same problem with VS2013 and Resharper 9. I have a code like this:

    gridList.Method1();
    gridList.Method2();
    

    I then right-click on any of gridList and click Find Usages (or just use Shift+F12) but it says "Usages not found" even though it is just one line away! Sometimes VS restart would help, sometimes it wouldn't. It looks like clearing the cache of Reshaper helps though: Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.

    0 讨论(0)
  • 2021-01-30 05:31

    I had this problem and it was resolved by following the steps described in the picture:

    Open Visual Studio Tabs on the path: Tools>>Options>>Keyboard

    Open Visual Studio Tabs on the path: Resharper>>Options>>Keyboard & Menus and Do the following:

    And Then Reopen the path above and do the following:

    Finally, close the Visual Studio and open it.

    0 讨论(0)
  • 2021-01-30 05:35

    Sometimes it has noting to do with Visual Studio at all. Be sure your keyboard has its function key setting of the keyboard itself to send the F12 function to Visual Studio. It is an easy thing to miss.

    0 讨论(0)
  • 2021-01-30 05:37

    "Web Essentials" Add or update visual studio "Web Essentials" You can find it at: Menu>>Tools>>Extensions and Updates

    I hope this will save your time. It worked for me.

    0 讨论(0)
  • 2021-01-30 05:41

    My problem was that I couldn't use the command "Alt + F12" when trying to "peek definition" in Visual Studio. I found out through another forum-thread that it was Nvidia's GeForce Experience that overrides some of the "Alt" shortcuts and uses them for their functionalities with screen recordings etc.

    What solved it for me, was going into the GeForce Experience settings and switch off the use of in-game overlay:

    Alternatively, if you want to use the overlay, you can just change the short cut commands.

    0 讨论(0)
提交回复
热议问题