-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Problem with Project.getAllFiles #7073
Comments
Have you tried this way var AppInit = brackets.getModule('utils/AppInit'),
ProjectManager = brackets.getModule('project/ProjectManager');
AppInit.appReady(function() {
console.log(ProjectManager.getAllFiles());
}); |
The |
@fdecampredon What is on ProjectManager line 1950 in your copy of the codebase? That doesn't line up with anything either in Sprint 36 or in master. Do you have any local changes to the Brackets source? |
Like I said I use busykai PR, in this version I have the line : _getAllFilesCache().done(function (result) { |
Hi @fdecampredon - thanks for working on an extension! For issues like this that are only reproducible on an in-progress pull request, we usually just bring them up in that pull request (unless it's for a large long-running feature) instead of tracking it in the issue tracker. It looks like you've already commented on #6530, so please work with @busykai there to resolve the issue. If the issue still persists after #6530 lands, please reopen this issue here. Thanks! |
When I try to use project.getAllFiles on a "big project" (typescript compiler) the promise returned by getAllFiles() never resolve. I use this the #6530 PR code .
I was able to debug a bit and ends up with this error:
The text was updated successfully, but these errors were encountered: