Text selection in OS X without trailing spaces
Answered
Hello,
I got tired of one behavior in the editor. When I select text using Option+Shift+Right Arrow the text gets selected with the trailing space as well which is extremely annoying. All the applications in OS X do select just the word without any space. I'm facing the same issue in IDEA as well.
Is there any way to change this behavior?
Thanks in advance,
PETR
Please sign in to leave a comment.
Hi Pert,
Could you pease provide simple snippet with the code where you experienced such issue? Is it comment line or method calling chain?
Usually option+right is used for navigation to next world. So it jump over spaces. Could you please try Expand selection (option+up)?
Hi Maxim,
Yep, the example to reproduce is for example:
Move the caret at the beginning of the word extern and select it using Option+Shift+Right Arrow. The space between extern and const gets selected as well.
I've found an open issue for this: https://youtrack.jetbrains.com/issue/IDEA-83263.
Thanks in advance,
PETR