Soaptray
Soaptray

Reputation: 201

Not select dollar ($) in PhpStorm on double-click?

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.

Upvotes: 20

Views: 3360

Answers (3)

gom
gom

Reputation: 897

File | Settings | Editor | General | Smart Keys | PHP -> Select variable name without '$' sign on double click

Upvotes: 23

mv1
mv1

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

ugur
ugur

Reputation: 9

you should click exactly underscore sign when double clicking to select foo_bar

Upvotes: 0

Related Questions