Does the option highlight all rows matching the actual selection in PhpStorm?

Is there an option to select all the lines that correspond to the actual selection in PhpStorm (for example, in SublimeText)?

+7
phpstorm
source share
2 answers

You can use Ctrl + Shift + F7 to do this in PhpStorm.

This will cause all applications of the selected text.

+6
source share

Using the built-in functions: select the text and press Ctrl + F , which will lead to the "Find on page" functionality : it will display all matches of the selected text in this document. But this is not always convenient, since you need to press additional keys and open the "find on page" panel ...

You can install and use the BrowseWordAtCaret plugin , which automatically selects a word under the carriage in the whole document (regardless of its nature - a variable or just text) + you can easily move between all matches.

PS You mentioned that "I’m used to regularly changing the name of an object’s property, array key, or parameter name in several places in one document."

Consider Using Refactor | Rename Refactor | Rename for variables / class members / etc - it works with multiple files.

+4
source share

All Articles