-
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] [PM] Lots of Find in Files improvements #2961
Comments
Its been a while with no comments here, but I know that this is a big request. Should I just start splitting this requests into smaller parts so it can easily be reviewed and merged. I could go step by step, make a small request, wait until is merged, start with another part until everything is covered? Might make it a lot easier since most of the changes aren't that big anyway, but look big all together. |
Hey |
|
Let's wait until Adam's had a chance to look at it before doing more work to split it up--he might have opinions about which pieces he does/doesn't want right now. Thanks! |
Hmmm, somehow the [PM] tag got lost. To |
Assigning [PM] issue to |
|
Monday Mar 18, 2013 at 02:33 GMT
Originally opened as adobe/brackets#3151
So here I made the next improvements to find in files covering most of the Trello Card and some extras:
Searching through the files now uses(Not required anymore)DocumentManager
for files in the working set, since only those could have unsaved changes andFileUtils
for the rest. These should avoid creating a Document for every file creating lots of console errors as mentioned in [CLOSED] Bash language support #3146.I also experimented on moving the search to a Web Worker, since Brackets stalls for a long time when searching on big projects, like Brackets, but it couldn't access
brackets.fs
probably for having the same restrictions as working in a browser (could this be changed in the CEF configuration?). I tested a bit just moving the search, but wasn't able to do it yet using Transferable Objects (without those, brackets crashes and wouldn't make a good optimization). Anyway moving just the search would still stall the window during the file reading which is already a long time. A filtering system would reduce this a lot in big project without needing to use Web Workers.TomMalbran included the following code: https://github.com/adobe/brackets/pull/3151/commits
The text was updated successfully, but these errors were encountered: