How to train phpStorm to select a html class with double click?

How to train phpstorm to highlight by double-clicking the name of a whole class when the class is written in dash-case, like this: name-of-class ?
If the class is written using underscores name_of_class all stands out as it should. The example in the GIF.

This occurs only if the file name is distinguished from .html, for example .php.
In file.html this is not a problem, in file.php there is a problem.
Thanks in advance.

0
1 comment

Hi there,

I guess it's https://youtrack.jetbrains.com/issue/WEB-15522 (about inconsistency)

P.S. https://youtrack.jetbrains.com/issues/WEB?q=select%20class%20double -- you may find useful to read some other partially related tickets

2

Please sign in to leave a comment.