P
P
Pavel Gogolinsky2014-01-16 11:29:48
phpstorm
Pavel Gogolinsky, 2014-01-16 11:29:48

How to enable word highlighting in PhpStorm?

How to make in PhpStorm so that when a word in the code (say, the name of a variable) is highlighted, all the same words in the code are highlighted?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alex Lee, 2014-11-26
@leealex

I needed the same function today (I'm used to double-clicking on the same words in Notepad++).
In PHPStorm, I simply created a hotkey with a double click (for example, I have CTRL + ALT + DoubleClick), now a double click with the control pressed and alt on any word selects all the same words (not necessarily variables).
4663d6a9e9a847f5844cdc6dff1ed997.png

S
Stanislav Lomadurov, 2014-01-16
@lomadurov

Ctrl + Fenter what we want to highlight
ЛКМby variable

A
akashtrih, 2014-01-21
@akashtrih

Ctrl + Shift + F7- highlight the use of the variable in the file (different shades mark the writing/reading of the variable).
Esc- reset selection.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question