I can press Ctrl + Shift + F in PhpStorm, and I will get a window with search options. I can search for particular string in all project files, I can leave "Text to find" field empty and put name of the file I'm looking for in "File mask(s)" field to find a particular file, but is there a way to find a folder by its name?
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.
To configure project settings, select PhpStorm | Preferences on macOS or File | Settings on Windows and Linux from the main menu. Alternatively, you can press Ctrl+Alt+S to show the IDE settings.
In Find in Path dialog (Ctrl + Shift + F) -- No.
But you can use Navigate | File... for that (Ctrl + Shift + N on Windows/Linux using Default keymap)

The key is to use path separator / to denote that the previous part was a folder.
Same as actual search for file name: the directory name can be partial: phpd/ will match phpdoc/ if that the only folder. Similar with capital letters: mff/ will match MyFavouriteFolder/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With