F12 no longer works in Visual Studio

前端 未结 17 1160
旧时难觅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:23

    ReSharper added a crap 'good' new thing that they now call a feature: Smart Go To Declaration. As dumb as it may sound, it comes enabled by default: crap 'good'.

    The feature is described on the link provided from here but honestly at least it should've keep it disabled, not reinvent the wheel. It also tells you how to disable that crap 'good' feature.

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

    These steps solved it for me:

    1. Uninstall keyboard in Device Manager
    2. Re-insert your keyboard usb
    0 讨论(0)
  • 2021-01-30 05:24

    I had just installed Pulover’s Macro Creator and F12 was set as the global hotkey to pause a macro. It was intercepting the keypress before it had a chance to get to VS.

    Solution is to change that hotkey to something else. I chose Ctrl-F12. The input box is on the top right of the Pulover window.

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

    For ReSharper Ultimate 2017.3.3 and Visual Studio 2017: Tools > Options > Tools > External Sources > Default Visual Studio Navigation > Save

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

    I ran into this problem after an organizational change that caused my windows profile to change. I tried the solutions listed above, but nothing seemed to work. Here is how I fixed it (brute force worked!)

    NOTE: Steps listed are for VS 2012 and ReSharper 7.1.3

    1. Uninstalled Re-Sharper
    2. Exit visual studio, ensure the process devenv.exe is no longer there in the running processes (was there in my case and I had to do a "End Process Tree" from Task Manager)
    3. Fired up VS 2012, and from the menu Tools -> Options -> Environment -> Keyboard selected Visual C# 2005 (or any other setting you love) and pressed Reset
    4. Shutdown VS again (and ensure devenv.exe has been killed in Task manager)
    5. Re-installed re-sharper

    Best of luck!

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

    For ReSharper 8 and Visual Studio 2012:

    Tools > Options > Keyboard > Reset

    Then going into the ReSharper options and applying the scheme:

    Resharper > Options > Environment > Keyboard & Menus > (Select Visual Studio under Keyboard Shortcuts) > Apply Scheme > Save

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