Changing completion list after it's created, and also as the user types

12 views
Skip to first unread message

shai geva

unread,
Oct 17, 2021, 4:45:57 AM10/17/21
to resharper-plugins

Hi,

I’m writing a plugin that adds additional autocomplete items.

I have two requirements that I’m having trouble with.

1. I need to autocomplete async - that is, after autocomplete is triggered, I’m sending out a request to an external service and waiting for a response before I know the items I want to complete. I couldn’t find any support for adding items after the completion list is created.

2. I need to change / add completions as the user types. That is, once the user types a few additional characters, my plugin knows how to provide better completions. I have not been able to find anything that is triggered as the user types (and which can then update the completion list).


Thank you!


Reply all
Reply to author
Forward
0 new messages