Can I disable or change a single Resharper shortcut?

  1. Go to Tools > Options > Environment > Keyboard
  2. Search for a command called ReSharper.ReSharper_BlockComment
  3. Remove the current shortcut or reassign another shortcut to the ReSharper command.

I'm guessing that you've set your shortcut in Global context whereas ReSharper has assigned the shortcut to its command in the Text Editor context. The latter takes precedence when you're invoking the shortcut while editing your code.

Also, consider taking a look at ReSharper's own Code Cleanup, which takes care of unused directives, other redundant items, and formatting.


To elaborate on the steps:

Suppose you want to change the binding of "Ctrl +Q"

  1. Open Tools Options Environment Keyboard

  2. Under "Press Shortcut Keys" Enter : Ctrl +Q

  3. This will show you what all commands are currently bound to this shortcut

  4. Then search for the commands in the "Show Commands containg window " and REMOVE the assignment (for the context that you want).

  5. Note that more than 1 command can bind to a shortcut depending on the context and so make sure you remove whatever you need

  6. Then verify that no the binding is gone, by repeating step 2 above

  7. Finally search for the new command that you want to bind the shortcut to and then enter shortcut and bind it in the context that you want to using ASSIGN