Search code examples
phpstormwebstorm

Search file names that contain a string


I have a module named flume and file names that include that module name, like flumeIndexController, flumePlugin etc. Now I've decided to rename the module to oozie so I want to have these files renamed to include new module's name like oozieIndexController, ooziePlugin.

How can I get a list of files than include the flume string (in file name) possibly using built-in search or through any other option?


Solution

  • Navigate | File... Ctrl + Shift + N using Default keymap.

    You can narrow your search results (just specify parts of the path, e.g. /abc/ and it will show results in a folders that match such pattern/abbreviation). Alternatively -- just do a post-filtering by excluding unwanted results (see below).

    This window has only 2 buttons -- one of which will display results in a more traditional and permanent "Search results" tool window (the one that you see when you do Find in Path and alike).