Search Files in folder (not full project)

Hi, is possible to restrict the file search to some folder (and sub)?

For example to seach all the Javascript files inside some folder. 

Right now I'm using something like:

FilenameIndex.getAllFilesByExt(project, "js");

And then filtering the results inside the folder, but maybe there is a faster and better way to do this?


Please sign in to leave a comment.