Long time user of Visual Studio here and starting to using regulary Rider and Webstorm (which I love).
I can't seem to figure out what is the selection rule when I simple click into some codes in the editor, particulary when I have to deal with HTML in Webstorm.
It seems like it randomly do one of the following behaviours :
1 - select whole line (particulary annoying as the carret is still blinking at the spot you click, suggesting you wrongly that you will insert text in that spot)
2 - select a overspecific element (opening tag, attribute value, tag content, ..). Sometimes when you want to append inline style on an existing style attribute, it selects the ending double quote which is infurrianting as your next typing while erase that double quote (same thing with appending attributes when it select the '>',..)
4 - set the carret at the place I click
The fact that it's unpredictable for me makes it very annoying. Are there some settings that make possible to have the following behaviour :
- simple click : Carret in the place I click
- double click : Select a word
- triple click : Select whole line