Compeletion provider not working properly
In my custom langauge I invoke the auto complete when the user is inside quotes. I have registered a CompletionProvider to do so. When I debug I can see that the items are populated in the completionResultSet, but that doesn't seem to work. Should I take care of something when the auto completion in invoked between two psiElements(which are the quotes).
Attachment(s):
autocompletion problem.png
Please sign in to leave a comment.
Please check what happens with the items after you psas them to CompletionResultSet.addElement. Are they matched against an empty prefix, or is there some other prefix in operation?
Maybe completion expects to recieve lookup elements with name starting with "... ?
Things are clarified in http://devnet.jetbrains.com/thread/455907?tstart=0, the items are matched against a non-empty prefix "* print ""