Feature request: Double click to property name with Option key will select property name without dollar sign

Requested behaviour:

  • When double click to property name `$user`, whole word including dollar sign is selected.
  • When double click to property name `$user` with modifier key (on Mac it is OPTION key), just `user` will be selected - without dollar sign.
3 comments
Comment actions Permalink

Just in case, it is already possible to change the default behaviour and select variables/properties without a dollar sign. This is configurable with the "Editor | General | Smart Keys | PHP > Select variable name without `$` sign on double click" option.

0
Comment actions Permalink

Vasiliy, yes I know, but this is more practical for every day usage.

0
Comment actions Permalink

Please take note that with this option enabled, there are two major ways available to select the whole variable with $ sign:
- Double-click on a space before the variable;
- Select the variable and then use "Expand word" (Ctrl+W) to select the dollar sign as well.

And of course, you may submit a corresponding feature request on YouTrack:
https://youtrack.jetbrains.com/newIssue

Hope it helps!

0

Please sign in to leave a comment.