Reputation: 994
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?
Upvotes: 23
Views: 22329
Reputation: 1298
File or Folder right click > Mark Directory as > Excluded
Only blue directories will be searched
Upvotes: 0
Reputation: 165148
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/
.
Upvotes: 50