I'm writting a plugin in which I use the code completion. But I don't know how to writte such behaviour:
the user types e.g "abc" and press CTRL+SPACE.
Its no probleme to offer him completion variants such "abcd", "abczyx" etc.
But I want to offer him variants like "Prefix1.abcd", "Prefix2.abczyx", "XYZ.abcdef" too. But how?
public CompletionVariant findVariants(PsiElement psiElement, CompletionContext completionContext)
returns all desired variants, but in the pop-up the user see are only variants starting with "abc" string.
Can somebody help?