Reputation: 255
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
and it will select just that instead of the entire variable.
I want it to select the entire variable $_helloWorld
when I double click on any part of it.
Does anyone know how to do it?
Upvotes: 17
Views: 8926
Reputation: 3712
In actual versions you can find this settings in
File > Settings > Editor > General > PHP > Smart Keys
Check "Select variable name without '$' sign on double click" It's done
Upvotes: 0
Reputation: 897
For the folks who are using Mac, this is what you got to do:
Editor > General > Smart Keys
Honor "CamelHumps" words settings when selecting on double click
Upvotes: 0
Reputation: 2764
For Rider it's under
File > Settings > Editor > General > Typing Assistance
and then at the bottom the last checkbox:
Honor "CamelHumps" words settings when selecting on double click
should be turned off.
Upvotes: 9
Reputation: 568
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
.
Upvotes: 24
Reputation: 369
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.
Upvotes: 26
Reputation: 358
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
Upvotes: 2
Reputation: 93728
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.
Upvotes: 5