Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selecting entire variable with double click

Tags:

phpstorm

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?

like image 635
user2909892 Avatar asked Dec 10 '13 05:12

user2909892


2 Answers

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.

like image 56
picofaradpjf Avatar answered Oct 03 '22 06:10

picofaradpjf


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.

like image 42
Valerij Dobler Avatar answered Oct 03 '22 07:10

Valerij Dobler