Cursor jumps out of the word in refactor rename
Answered
I press Shift+F6 to rename a class name. I press Ctrl+Left and the cursor jumps to the beginning of the class name so it is possible to start to type something. After that I press Ctrl+Right and cursor jumps out of the class name so typing something types new character out of the class name.
Is it expected behavior?
I would expect that for the class name HelloWorld the result would be:
Shift+F6-> start class renaming
Ctrl+Left, type New -> actual result is NewHelloWorld
Ctrl+Right, type Test -> actual result is NewHelloWorld Test instead of NewHelloWorldTest
Please sign in to leave a comment.
Ctrl+Right is bound to "Move Caret to Next Word", this is exactly what happens. This behavior is by design for this action. You may want to use End shortcut instead.
I see, thank you.