Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

  • With "Honor CamelHumps", it will select $foo_bar.
  • Without "Honor CamelHumps", it will select foo or bar depending on which word you double-click on.
like image 950
Soaptray Avatar asked Feb 02 '15 21:02

Soaptray


2 Answers

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

like image 183
gom Avatar answered Oct 14 '22 07:10

gom


It's now fixed - there is an option to allow selecting of $ in variable names - see https://stackoverflow.com/a/42624161/4879058

like image 33
mv1 Avatar answered Oct 14 '22 07:10

mv1