Skip to content
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

refreshFileTree() call no longer needed in Sprint 36 #1

Open
peterflynn opened this issue Jan 31, 2014 · 0 comments
Open

refreshFileTree() call no longer needed in Sprint 36 #1

peterflynn opened this issue Jan 31, 2014 · 0 comments

Comments

@peterflynn
Copy link

Starting in Sprint 36, I believe you can remove your extension's explicit calls to ProjectManager.refreshFileTree(). Brackets will automatically detect filesystem changes (including changes made by a different process), and it will update the tree incrementally without any need for a full refresh.

You should be able to invoke the FILE_ADD_TO_WORKING_SET command at any time -- no need to wait for the project tree to redraw (that is, the "selectionRedraw" stuff in your code can be removed too).

You can release an update to the extension at any point with "brackets": ">=0.36.0" in your package.json file; any users who are still on older versions of Brackets will simply be directed to install an older version of your extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant