How to find all files with function in phpstorm?

How can I find and show all files in phpstorm where this method

$this->other_model->any_method() 

is called?

+6
source share
3 answers

cmd+shift+f for Mac and ctrl+shift+f for Windows will find any part of the text in the entire project or directory. Or you can use alt+f7 to find ways to use it.

Displays the PHPStorm keyboard .

View the structure of the source file .

+12
source

You can search for a character with the combination Ctrl+Shift+Alt+N This combination allows you to search not only for PHP classes / methods, but also for PHP variables, CSS classes, etc.

If you want to find ways to use files in files: click on your method and press Alt+F7

+3
source

If you want to find a song of your desire, you can use the search everywhere . I prefer to use this because PhpStorm allows you to search for any element of the source code, database, action, user interface elements, etc. In one action . To use this, just click the search button in the upper right corner of phpStorm or 2 times the keyboard shortcut key. Now you can find your search everywhere. This is great phpStorm functionality. To learn more about using this search method, go to the following link: Search Worldwide

To view all search methods in phpStorm, click on the following link: Source Code Search

0
source

Source: https://habr.com/ru/post/980094/


All Articles