Shift-CTRL-Arrow Selections and Word Boundaries; White-Space Selection

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

4 comments
Comment actions Permalink

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?

 

0
Comment actions Permalink

Yes, use this setting:

0
Comment actions Permalink

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.

0
Comment actions Permalink

Sorry for misunderstanding. You are right, there is no option for that right now.

Thanks for submitting https://youtrack.jetbrains.com/issue/IDEA-206905.

0

Please sign in to leave a comment.