Move Caret to Next/Previous Word with Selection selects previous or ending newline
When using Mac Option+Shift+Left/Right arrow keys to select text or empty space (spaces or tabs) to the right or left, I remember PHPStorm selecting only the text/spaces on that line up to the beginning or end, but now it often selects the previous line's newline character (when selecting to the left) or the current line's newline character (when selecting to the right).
This behavior's kind of nonsensical, and I don't really have a use for it, and it's overboard most of the time. I just want to select the text/space to the right or left of that line, not any newlines before or after. No other app I use does this, it's weird, and sometimes causes me to expect the newline in other apps to have been selected.
Here's the setting:

Is this intentional by JetBrains?! I mean, I love IDEs and PHPStorm is incredibly helpful, but there's a point where it becomes too much (like Google adding a space to text in their Gmail search box in Chrome desktop, or Chrome randomly slapping in words after the words I type in the address search bar just before I hit Enter)... and I'm not seeing how to make it behave normally.
I've seen a lot of "overly-helpful" quirks arrive in *Storm, and I'm not happy with a lot of them because they go against the norm across apps on Mac. This is one of those things that I as a developer don't need and causes me extra typing more often than not.
请先登录再写评论。
I can see identical behavior in N++ and very similar in Atom. Why is it nonsensical? Could you please provide an example?
Hi there,
It's not super clear for me on the actual issue (need an example with actual/desired behaviour; I'm on Windows BTW that can also make some difference) .. but please check these settings: