I'm using code completion in my plugin to create expressions which begin with a $. When it comes to code completion for words such as 'file', everything is fine. However, when I try do the same for '$', it doesn't work.
Using a PsiViewer I can see that the element is whats expected in the extend() method I'm using, but nothing happens. I then track it back to CompletionService.getVariantsFromContributors() and find this isn't being called when the char is $ and actually completion parameters aren't being initialized (CodeCompletionHandlerBase.prepareCompletionParameters()).
How might I be able to work around this problem?