adobe/brackets — pull request #1084 by redmunds (2012-06-20 18:10:35+00:00)
Title: Restore project files asynchronously

This is a proposed fix for issue #1078, which was caused by fix for issue #978.

This seems to be the cost of restoring files when opening a project. I see a similar delay between opening Brackets with and without files to open at startup.

One problem is that populating the project tree and opening the active working set file all happens synchronously. It seems better if we first show the project tree populated, and then populate the working set and opening the active file asynchronously. This pull request implements this solution.

A slightly different approach may be to also populate the working set with the project tree, and then open the active file asynchronously.