In fact, this functionality is included in my installation of PhpStorm 2016.2 on Linux, but I would suggest that it is no different from other operating systems, since it is cross-platform.
Option 1: There should be a filter button in the file search dialog box Ctrl+Shift+N in the upper right corner.
You can immediately deselect JavaScript files, and from now on they will no longer appear in the search. Since *.map not registered as the default file type, you will not find it in the list (at least not in my installation). To achieve also *.map filtering, register filetype Settings -> Editor -> File Types -> "Recognized File Types" add a new file type with a name map - no more parameters are needed and add *.map as the "Registered Template" (you You can see this in action also in Figure 2). Now this type of file should be available for exclusion from the search.
Option 2: You can hide the *.js files as well as the *.map files completely from your project on Settings -> Editor -> File Types -> "Ignore files and folders" add here *.js;*.map;
Now these types of files will not only be hidden in the project, but will also not be displayed when searching for files (Ctrl + Shift + N). If you need to check your JS files and maps, you can open a second editor for such cases, but I think you wonβt need to do this too often, right?
source share