Hi, I'm trying to go from a (PsiFile, offset) -> [list of completion results]. Essentially, I'm interested in seeing what Idea has to say about possible completion at a certain point in a file, in a "background" / programmatic manner.
I looked at existing open-source plugins, but I couldn't find any way of getting completion results, only
I also tried:
In both cases, the problem seems to be that:
1. It doesn't work.
2. I can't call the lower level APIs because I can't instantiate a CompletionParameters object
Is this possible ? Is there an example on how to do this ? Am I on the right track ?
Any help is appreciated.