-
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] Added projectRefresh event when project tree is refreshed but project root has not changed. #4451
Comments
Comment by peterflynn If the idea is to get notifications when files are added/deleted/renamed, hanging those notifications off of ProjectManager doesn't seem ideal. But OTOH, once we add file watchers we'll probably have a whole different API for file-change notifications, so maybe it's not so bad to notify from ProjectManager for now & then deprecate it later...? |
Comment by WebsiteDeveloper
|
Comment by zaggino
|
Comment by njx Initial review done. I think it's okay to add this because it's different from individual file notifications--it's specifically saying that the UI of the file tree has been torn down and rebuilt, and extensions that are annotating the tree might need to reapply themselves. |
Comment by zaggino
|
Comment by zaggino
I can move the event out of the |
Comment by njx Sorry, been busy. Will try to get to this soon. |
Comment by njx Seems fine. I'm going to push up another commit to tweak the comment after merging this. Thanks. |
Comment by zaggino Thanks |
Issue by zaggino
Sunday Aug 18, 2013 at 00:00 GMT
Originally opened as adobe/brackets#4815
I need an event like this for my git extension which hooks on project tree and displays branch information from git. I have not found any other way to hook onto this.
zaggino included the following code: https://github.com/adobe/brackets/pull/4815/commits
The text was updated successfully, but these errors were encountered: