F12 no longer works in Visual Studio

Dean picture Dean · Jun 5, 2009 · Viewed 70.2k times · Source

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 Declaration doesn't have any assigned!

The only way I can go to declaration is by using Alt and ` and then selecting Declaration.

I have tried un-installing and re-installing ReSharper with no luck, I have also, in ReSharper option asked it to use the default Visual Studio Key Bindings but that doesn't to work either.

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

Has anyone come across this problem?

I am using Visual Studio 2005 SP1.

Answer

Ryan picture Ryan · Jun 9, 2010

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