I installed Resharper and it over-wrote my keyboard shortcut for Go To Declaration. How can I set the keyboard shortcut back to F12?
I looked in Visual Studio Options > Tools > Options > Environment > Keyboard Shortcut. There are many shortcuts related to declaration here. I'm not sure which one to edit.
Image (missing shortcut key)
When using the INTELLIJ IDEA schema you need to do a few things. Go to Visual Studio Options > Tools > Options > Environment > Keyboard Shortcut.
You may also have to remove F12 assignment from Edit.GoToDefinition. F12 being assigned to another button causes some bizarre stuff to happen.
Now F12 should display in the context menu and function correctly.
Alternatively, if the shortcut to "Go to Declaration" has simply become unbound then reset it back to the default of CTRL+B. In Visual Studio top menu > Resharper > Options > Environment > Keyboard and Menus > Select IntelliJ IDEA schema > Apply Scheme.