Reputation: 201
I am coming from Dreamweaver into PhpStorm 8.0.2 (on Windows 8.1).
How do you set it up so that when selecting a variable, you do not select the dollar ($)? This needs to include variables separated by underscores.
I have tried the various settings to do with CamelHumps, and had mixed results, but still not ideal.
For example, double-clicking the variable $foo_bar
, I would like it to select foo_bar
.
$foo_bar
.foo
or bar
depending on which word you double-click on.Upvotes: 20
Views: 3360
Reputation: 897
File | Settings | Editor | General | Smart Keys | PHP -> Select variable name without '$' sign on double click
Upvotes: 23
Reputation: 568
It's now fixed - there is an option to allow selecting of $
in variable names - see https://stackoverflow.com/a/42624161/4879058
Upvotes: 5
Reputation: 9
you should click exactly underscore sign when double clicking to select foo_bar
Upvotes: 0