ReSharper - Rename window > Select text with CTRL + Shift + Arrow Keys

Completed

Hello,

I'm trying to select/mark text in the textbox with the keyboard/shortcut combination CTRL +  Shift + Arrow keys. Its behaviour should be to jump to the next word/text break and select all text within that range. But it is not behaving like that. This shortcut just jumps, without selection. And that's the behaviour of CTRL + Arrow key. I guess it's a standard Windows shortcut, nothing really with ReSharper.

Is there a possibility to change that within settings or is it just not implemented?

Kind regards,

Fred

 

EDIT: Should this question be asked in "ReSharper Community" instead of "EAP"?

7 comments

Hello Frederik!

 

Sorry for delay in responding.

You can configure this behavior using VS Tools | Options | Environment | Keyboard. Select Text Editor scope in "Use new shortcut in" and assign corresponding commands to shortcuts:

  • Edit.LineDownExtend Ctrl+Shift+Down Arrow
  • Edit.LineUpExtend Ctrl+Shift+Up Arrow
  • Edit.WordNextExtend Ctrl+Shift+Right Arrow
  • Edit.WordPreviousExtend Ctrl+Shift+L eftArrow

Thank you.

 

0

Hey Angelina,

thanks for replying!

I've just checked the keyboard for .NextExtend and .PreviousExtend. They already have that shortcurts set but do not behave like I'm assuming. Any other hints on this?

Maybe I have to point out again, that I'd like this behaviour extended to ReSharpers "Rename Window". So the small popup that appears if I'm pressing the CTRL+R,R to let ReSharper perform a renaming of a method name for example.

Fred

0

Hello Frederik!

 

Sorry, not sure that understood the part with Rename window. How this behavior should be extended?

Could you please provide some screenshot illustrating the desired behavior?

Thanks in advance. 

0

I mean this popup:

  • CTRL + Arrow Key lets the cursor jump from one position to the next word, simply put. This is correct and my expectation.
  • CTRL + SHIFT + Arrow Key is behaving the same way, but additionally should select all text that is in between the initial cursor position and the next word. But this doesn't work. Is this not implemented for this textbox?

All the best

Fred

0

Hello Frederik!

 

Thank you for clarification.

This feature isn't implemented yet, please see the corresponding issue - https://youtrack.jetbrains.com/issue/RSRP-470995.

You are welcome to comment or vote for it.

Thank you.

0

Good to see that someone is working on this. It's just a small thingy, but small things sometimes matter more than bigger ones. ;)

0

Please sign in to leave a comment.