Repository navigation
Make Provider / Suggestion API Async - #99
joefitzgerald wants to merge 3 commits into
Conversation
|
Out of curiosity, will this also allow async loading of suggestions from providers? I've banged out a replica of autocomplete-clang that uses the autocomplete-plus provider system, but I've got to do some nasty hacks to be able to keep the GUI responsive and still load the results. Namely, I do a "loading..." suggestion, then I kick off the clang program, and then return the parsed results on the next involcation. This is rather ugly and doesn't provide the UX I'd like to have to release it. |
|
Yes, the intent is to allow providers to return asynchronously, and display results asynchronously. It's driven by my need to shell out to |
|
Awesome, look forward to seeing this progress. :) |
- Providers don't need access to the EditorView; just the Editor - Establish versioning of the provider spec to allow for future feature enhancement
|
@joefitzgerald Just in case this project wasn't on your radar: https://github.com/HaxeIDE/atom-autocomplete-plus-async |
|
Hey @rockymadden - it's been a while! 😄 Yep, aware of that but using a different approach. Sadly, the author didn't commit everything prior to making the changes so it's a bit opaque as to what changed (I could always break out a diff tool). |
|
@joefitzgerald No doubt, but I still see you pop up all over. Always a pleasure when that happens. 😄 Gotcha about the project. I didn't delve too deeply into the code, but I did want to make sure that you were aware just in case it was of any use to this endeavour (which I am looking forward to). |
|
Any update on this status? |
|
Can't wait for this to work :) |
|
Is there a reason for this to not be merged when the build is passing? |
|
it's not fully implemented yet, based on my testing @derekperkins (although I could be testing it incorrectly) |
|
That was a record response time @joeferraro. Thanks for the update! |
|
@derekperkins hehe, I'm as anxious as you are for this functionality 👍 |
|
Correct, this is not fully implemented yet. I am very acutely aware of how much this is wanted, and I want it too. |
|
no worries, @joefitzgerald, thanks for the effort on this. |
|
Any news on this? |
|
When this re-starts, I'll make another PR or post the location for it. |
🚨 WIP 🚨
This PR will make the autocomplete-plus provider + suggestion API asynchronous.
Status: Not Ready For Merge