Shift-CTRL-Arrow Selections and Word Boundaries; White-Space Selection Follow
Answered
Hi,
When using SHIFTCTRL-> and SHIFTCTRL<- (shift, control right and left arrows) the selection stops at inter-cap (a.k.a. camel-case) boundaries, which is nice, but does not stop at word boundaries, which is not nice.
Is there a way I can get controlshiftarrow selections to stop at word boundaries?
Also, double clicking on white space does not select the white space, but instead the overall construct within which it appears. Is there a way to get a double-click in white space (at least intra-line white space) to select the white space itself?
Thanks.
Randall Schulz
Please sign in to leave a comment.
That's an extremely old question... But I have exactly the same. In the below image, when on 1, if I ctrl+righ arrow, I go to 2. But I really want to go to 3. Is this configurable?
Yes, use this setting:
I don't think it does what I want: I already have it. It allows to stop the carret in the middle of words when they are camelCased (or snake-cased). But that does not make the cursor stop at the end of the word: it jumps to the next word.
Sorry for misunderstanding. You are right, there is no option for that right now.
Thanks for submitting https://youtrack.jetbrains.com/issue/IDEA-206905.
As a workaround I use Ctrl + shift + > and Ctrl + shift + < and it selects the whitespace
This is what you are looking for.
Settings / Editor / General -> Caret Movement -> When moving by words -> Stop at both word boundaries