How to use workspace.findFiles

I want to use the workspace.findFiles(globPattern) method, but I am unable to import @theia/plugin and I do not see the method implemented on any of the injectable services.

Am I missing something? Is there a better way to read through a set of file types?

Hey @the-ricker,

the workspace.findFiles function is effectively just a proxy for the FileSearchService.find method. You can inject it via the FileSearchService symbol into your backend/frontend code.