Restore CTRL+7 to comment a line in RS5

Hello, I got used to CTRL+7 to comment out a line of code in ReSharper 4.5.

This feature has changed in RS5. How can I restore it? I've tried to change keyboard map without success.

Best regards

Alessandro

4 comments
Comment actions Permalink

Hello,

What keyboard are you using? Default shortcut for commenting is Ctrl-/, do
you have "/" button same as 7? Also, you could try opening Tools  | Options,
select Environment, Keyboard and see shortcut (or rebind) for ReSharper.LineComment
command.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hello, I got used to CTRL+7 to comment out a line of code in
IR> ReSharper 4.5.
IR>
IR> This feature has changed in RS5. How can I restore it? I've tried to
IR> change keyboard map without success.
IR>
IR> Best regards
IR>
IR> Alessandro
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5259635#5259635


0
Comment actions Permalink

Hello, I'm using ReSharper 2.x Keyboard Scheme.

Since I use a MacBook laptop I do not have the keypad / handy.

I went to Tools -> Options -> Keyboard

As you can see from the attachment I already had done what you suggest but if I go to the editor and press CTRL+7 a little popup comes out telling me "Could not go to bookmark #7..."

Best regards

Alessandro



Attachment(s):
kb.png
0
Comment actions Permalink

You can find the command GotoBookmark7, and unbind Ctrl+7 from it. It has
binding in Text Editor scope, which takes precedence in text editor.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hello, I'm using ReSharper 2.x Keyboard Scheme.
IR>
IR> Since I use a MacBook laptop I do not have the keypad / handy.
IR>
IR> I went to Tools -> Options -> Keyboard
IR>
IR> As you can see from the attachment I already had done what you
IR> suggest but if I go to the editor and press CTRL+7 a little popup
IR> comes out telling me "Could not go to bookmark #7..."
IR>
IR> Best regards
IR>
IR> Alessandro
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5259638#5259638


0

Please sign in to leave a comment.