On 28.09.2014, at 14:52, Sebastian Proksch <
pro...@st.informatik.tu-darmstadt.de> wrote:
> Thanks for the clarification. However, this raises two additional question:
>
> 1) How do you detect when the proposal creation is finished? I guess you don't and you are just processing new incoming additions?
You’re right, we don’t. And we cannot. As the IDE computes proposals asynchronously and opens the code completion before all proposals are added, I don’t see a way to detect this “finished” point. We could ask in the R#-Dev-Forum, though...
> 2) Assuming there would be a second proposal provider that is doing the same trick. This would also result in an endless loop, right?
Yes. I would propose to define a KaVE base class for LookupItems to use for the recursion anchor. Probably we can even find a way to factor out the anchor-check to some provider base class, but I have to look into this.
Best,
Sven