Find file is project


I’m having some trouble understandind the api structure, i want to find a file by name or regex in any of the current project folder programmatically.

Where do i start?


You start here with Project.getPaths to get a list of the root paths in the project. Once you have that list you can use your standard directory search tools from Node to find/match files.


Thank you

for future references, globule library for globbing helped me achieve finding files in a given path