-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Adds a refresh menu item #3167
Comments
Comment by peterflynn I wonder if this sort of "Promise queue" construct is something we should add to the Async utils module... would that help to simplify the code in ProjectManager? |
Comment by njx Rebased onto most recent master. Haven't addressed code review comments yet. |
Comment by njx Reviewed. Open for committers to review, though I should address |
Comment by njx
|
Comment by njx Ready for re-review. One last thought...do you think we should be paranoid and have a timeout in case the render promises don't all complete within some amount of time? I'm sufficiently worried about the complexity of the codepaths involved (and the possibility of bugs in jstree), and things are likely to break if |
Comment by gruehle Yeah, it would be a good idea to have a timeout, just in case. The Async module has a |
Comment by njx Added the timeout ( |
Comment by njx Actually...it looks like that functionality has never worked properly for more than one open top-level folder :( So I guess we can go ahead and merge this :) |
Comment by gruehle Looks good! Merging. |
Issue by njx
Sunday Apr 07, 2013 at 17:25 GMT
Originally opened as adobe/brackets#3370
This is a continuation of
@
victorgama's pull request #2786 to add manual refresh to the project tree (addresses #3124).Changes since that pull:
_lastSelected
when refreshing (avoids an exception)Not urgent, but would be nice to get this functionality in so extensions can request the tree to manually refresh as well (e.g. #3252).
Updated: removed it from the project dropdown since we're no longer putting functionality there
njx included the following code: https://github.com/adobe/brackets/pull/3370/commits
The text was updated successfully, but these errors were encountered: