F12 no longer works in Visual Studio

It drives me crazy. Ever since I installed ReSharper 4, F12 no longer works. If you look at all the short ReSharper shortcuts in the Goto submenu, no declaration has been assigned!

The only way I can go to the declaration is to use Alt and ` , and then select" Declaration. "

I tried to uninstall and reinstall ReSharper without any luck, I was also offered to use Visual Studio Key Bindings by default in the ReSharper option, but this will not work either.

Interestingly, when I use Alt and ` , I actually get two entries for the Declaration parameter.

Has anyone encountered this problem?

I am using Visual Studio 2005 SP1.

+85
keyboard-shortcuts visual-studio-2005
Jun 05 '09 at 10:21
source share
13 answers

I had several cases where the Resharper and Visual Studio keyboard shortcuts got messed up and I had problems sorting them.

If you only need one or two bindings, you can change them by going to

Tools-> Configure-> Keyboard menu option.

+43
Jun 05 '09 at 10:32
source share

I ran into the same problem and solved it by first resetting the Visual Studio keyboard mappings:

Tools> Options> Keyboard> Reset

Then we go to the ReSharper settings and apply the scheme:

Resharper> Options> Visual Studio Integration> Apply Schema

Update:

For VS2017 year:

Tools> Options> Environment> Keyboard> Reset

For Resharper 2017.2:

Resharper> Options> Environment> Keyboard and Menu> Keyboard Shortcuts> Apply Scheme

+241
Jun 09 '10 at 1:24
source share

For ReSharper 8 and Visual Studio 2012:

Tools> Options> Keyboard> Reset

Then go to the ReSharper parameters and apply the scheme:

Resharper> Options> Environment> Keyboard and Menu> (select Visual Studio under the keyboard shortcuts)> Apply Scheme> Save

+21
Jun 12 '13 at 14:48
source share

I had this problem and it was solved by following the steps described in the figure:

Open Visual Studio tabs along the path: Tools >> Options >> Keyboard

enter image description here

Open the Visual Studio tabs along the path: Resharper >> Options >> Keyboard and menu and do the following:

enter image description here

And then open the path above again and do the following:

enter image description here

Finally, close Visual Studio and open it.

+11
Nov 02 '17 at 11:02
source share

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

  • After completing the steps described by Ryan, I pressed F12, where Resharper asks what you want to do ?, I select the Use Visual Studio command. Still not working.
  • Tools> Options> Keyboard> Select ReSharper.ReSharper_GotoNextHighlight from the list of commands
  • Change the shortcuts for the selected command to F12 (text editor), click "Delete" and "OK."

After that it works!

+7
Sep 24 '15 at 3:30
source share

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

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

Then I right-click on any of the gridList and click on Find Usages (or just use Shift+F12 ), but it says “Usage not found”, although this is just one line! Sometimes rebooting VS might help, sometimes it is not. It seems that clearing the Reshaper cache helps: Resharper - > Options -> Environment -> General -> Clear Caches . To do this, you must restart VS, but then it started working as expected.

+2
Oct 02 '15 at 7:14
source share

You may have turned on the Fn mode (blue keys) on the keyboard, which overrides the default behavior of the function keys, including F12.

+1
Feb 14 '18 at 20:52
source share

I ran into this problem after organizational changes that caused a change in the profile of my window. I tried the solutions listed above but nothing worked. This is how I fixed it (brute force worked!)

NOTE. Steps listed for VS 2012 and ReSharper 7.1.3

  • Remote reselection
  • Exit visual studio, make sure that the devenv.exe process no longer exists in the running processes (it was in my case, and I had to make the "End Process Tree" from the task manager)
  • VS 2012 was launched, and Visual C # 2005 (or any other parameter that you like) was selected from the Tools → Options → Environment → Keyboard menu and clicked Reset
  • Turn off VS again (and make sure the devenv.exe file was killed in the task manager)
  • Reinstall again

Good luck

0
Jul 05 '13 at 8:47
source share

These steps solved this for me:

  1. Delete keyboard in device manager
  2. Insert your USB keyboard
0
Apr 09 '18 at 6:43
source share

Web Essentials Add or update Visual Studio Web Essentials can be found at: Menu >> Tools >> Extensions and Updates

I hope this saves you time. It worked for me.

Web essentials

0
Sep 13 '18 at 14:38
source share

ReSharper added shit the “good” new thing they now call a feature: Smart Go To Declaration. No matter how stupid it sounds, it is turned on by default: shit 'OK'.

This function is described by the link given here, but, frankly, at least it should have disabled it, not reinvented the wheel. He also tells you how to disable this. shit "good" feature.

0
Feb 13 '19 at 8:19
source share

Sometimes this has nothing to do with Visual Studio at all. Make sure your keyboard has a function key setting for the keyboard itself to send the F12 function to Visual Studio. It is easy to miss.

0
Apr 02 '19 at 17:40
source share

I just installed Pulovers Macro Creator, and F12 was installed as a global hotkey to pause the macro. He intercepted a keystroke before he managed to get to VS.

The solution is to change this hotkey to something else. I chose Ctrl-F12. The input field is in the upper right corner of the Pulover window.

After changing the hotkey

0
Jun 13 '19 at 16:43
source share



All Articles