CompletionData is deprecated — what to use instead?

well, the question's in the subject.
I also noticed that something changed in the CompletionData logic (one of my completion functionality is not working): i'd be glad for the brief summary of changes.
I return custom LookupItem instances from getVariants(), the method is called, the items are returned, but they are not shown.

0
4 comments

Hello Jay,

well, the question's in the subject.

I also noticed that something changed in the CompletionData logic (one
of my completion functionality is not working): i'd be glad for the
brief summary of changes.

I return custom LookupItem instances from getVariants(), the method is
called, the items are returned, but they are not shown.


The new API is CompletionContributor. The class has an extensive JavaDoc
describing how it should be used.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

BTW the old functionality should work. Which language do you have? Which
CompletionData methods do you use/override?

0

My language is PHP and i can mail you my CompletionData implementation which is quite big, however maybe there's no need in this since i'm going to use the new API.
thanks

0

Thanks a lot!

0

Please sign in to leave a comment.