Hi all,
I made a semantic autocompletion plugin with the clang C++ API for ST3. However, ViewEventListener.on_query_completions
can be extrmely slow sometimes, which is to be expected because it may parse a dozen header files.
How would one go about implementing this in an asynchronous way? There is ViewEventListener.on_selection_modified_async
, I could perhaps use that as a starting point. However I fear that completions may not arrive “on time” for on_query_completions
.
Any suggestions, pointers, or past experience would be appreciated.