In PhpStorm, when you double click on a variable, say $_helloWorld
, it just selects a part of the variable. For example, when you double click on World
Super late answer, haha, but here is the exact option to enable selecting $
in variable names:
File | Settings | Editor | General | Smart Keys | Select variable name without '$' sign on double click
Should be disabled
.
Please enable this option: File | Settings | IDE settings | Editor | Smart keys | Use "CamelHumps" words.
And check if this one enabled: File | Settings | IDE Settings | Editor | Honor "CamelHumps" word settings when selecting using double click.
Using WebStorm on Windows 8.1 I was able to fix this by going to
File > Settings > [IDE Settings] > Editor
and disabling the following option:
Honor "CamelHumps" words settings when selecting on double click
For me, PhpStorm on Linux will only select entire variables on double click if I have the option:
File | Settings | Editor | General
Honor "CamelHumps" word settings when selecting using double click
turned off. See documentation here.