Ctrl+R, Ctrl+R command not working
Solution 1:
I was able to fix this by doing the following:
- Go to Resharper → Options menu commmand
- Select Environment → Keyboard & Menus
- Select the Visual Studio option under Keyboard Shortcuts
- Click Apply Scheme and Save
This will cause Ctrl+R, Ctrl+R to do a rename. (Select ReSharper options in the dialog box that pops up then.)
However, it made F2 no longer able to preform a rename. I was able to fix that by doing the following:
- Go to ReSharper → Options menu command
- Select Environment → General
- Select the ReSharper 2.x or IntelliJ IDEA under Restore ReSharper keyboard shortcuts
- Click Apply or OK
This allows both F2 and Ctrl+R, Ctrl+R commands to work for renaming a variable.
This seems to be specific to ReSharper being installed with Visual Studio, I don't know what the solution would be to fix this if ReSharper weren't installed.
Solution 2:
For Resharper 6
You should:
- Select menu "Resharper" - "Options..."
- Select "Visual Studio Integration"
- Choose "Visual Studio" in both places
- Click "Apply Scheme"
It will either works or you will have a selection to do (Visual Studio or Resharper), if it is so, then choose Resharper.
Solution 3:
resharper has multiple default shortcut bindings that is chosen the first time you start visual studio after instalation. My guess is you picked a different one this time.