However in the second implementation my custom action in my handler is called while in the first one not. But it still does not popup the completion automatically.
I registered the fixed completion variant from my first message (don't use NotFilter in variant constructor) and if I type "^" symbol in the attribute name then the MyCompletionData.completeReference() method is called.
Implement your completion data:
and register the completion data:
I did this:
and this:
However in the second implementation my custom action in my handler is called while in the first one not. But it still does not popup the completion automatically.
Seems, the first and second blocks of code are same... Please explain what you did.
The difference is in the filter you pass to CompletionVariant:
in the first case it was
and in the second just
It's my mistake. Sure, use the variant without NotFilter:
So the problem is that this variant is processed because it's handler is called instead of the default one,
but i cannot pop it up automatically.
I tried doing
but to no avail.
I registered the fixed completion variant from my first message (don't use NotFilter in variant constructor) and if I type "^" symbol in the attribute name then the MyCompletionData.completeReference() method is called.
I can't get it working like this.
I get completeReference only after ctrl+space.
Could you please post your whole completionData class ?