-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double-click select word wrong behavior #212
Comments
Works correctly (better) in latest release. |
This works for most cases except for strings -
if I place cursor on any single-word inside that string and double-click, it will select entire string - annoying because this is a common usecase |
Fixes in #644. |
There is still one weird circumstance that occurs, but it's a very limited edge case: If you double-click on the second asterisk at the beginning of a doc comment, only the text of the comment will be selected. (In the normal case, when selecting a beginning or end token, the selection will be extended to entire lines if they are multi-line comments.) This is because the Java comment selectioner (a horrible name) also handles the selection, and IDEA takes the most specific (smallest) one. We could eliminate that if we changed doc comments to NOT be PsiComments, but that brings with it many other issues. I'm going to close this. The functionality will be in the next release. |
Double-click must select one word in any expression.
Instead it we have unpredictable behavior:
In this demo I use only:
Also: full string (expr) must be selected on triple-click if needed but not on double-click.
TIR: STB-9373
The text was updated successfully, but these errors were encountered: