PHPStorm - Selecting entire variable with dbl-click

Hi All

In PHPStorm, when you double click on a variable say $_helloWorld it just selects a part of the variable, for example, u 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?


Weird, when I double click $_helloWorld it selects the whole thing…

Check your setting under IDE Settings > Editor (click on Editor). Look at the setting under Mouse > Honor “CamelHumps” words settings when selecting on double click, mine is checked.

Yes its already ticked. BTW I am on Mac OS X 10. Does that make a difference?

Very well could. I’ve only tried this on Linux and Windows, and both places it works fine. I don’t have access to a Mac, so I’m not much help there…

Unfortunately, that seems to be the only location for that change. You may need to open a bug at