F12 no longer works in Visual Studio

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

    I have had a few occasions where Resharper and Visual Studio keybindings got mixed up and I had problems sorting them out.

    If it is only one or two bindings you care about then you can change them by going to the

    Tools->Customize->Keyboard menu option.

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

    I ran into the same issue and resolved it by first resetting my Visual Studio keyboard mappings:

    Tools > Options > Keyboard > Reset

    Then going into the ReSharper options and applying the scheme:

    Resharper > Options > Visual Studio Integration > Apply Scheme

    Update:

    For VS2017 onwards:

    Tools > Options > Environment > Keyboard > Reset

    For Resharper 2017.2:

    Resharper > Options > Environment > Keyboard & Menus > Keyboard Shortcuts > Apply Scheme

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

    I had this issue in VS2015 using Resharper 9.1.3, I tried Ryan's answer but it still didn't work.

    • After doing the steps Ryan outlined, I clicked F12 where Resharper asks What do you want to do?, I select Use Visual Studio commands. Still doesn't work.
    • Tools > Options > Keyboard > Select ReSharper.ReSharper_GotoNextHighlight from command list box
    • Change Shortcuts for selected command to F12 (Text Editor), click Remove and OK.

    After this it works!

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

    It is possible that you have enabled Fn mode (Blue Keys) on your keyboard which overrides default behavior of functional keys including F12.

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

    Update 2020. I had the same problem and also tried a lot of ways, but that was still didn't working... [VS 2015, ReSharper 2019.3.1] But, like Andrius said: Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.

    Summary is: (try steps above) + Resharper..-> Clear Caches + VS restart. Hope this will be useful

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

    Try simple way to enable it, press Fn + Esc key of the keyboard.

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