gotoSymbolContributor won't suggest qualified names with dots

I implemented ChooseByNameContributor via extending GoToSymbolProvider. I provide qualified names in addNames, i.e. Namespace.item1, Namespace.item2 etc. And I can perfectly find item1 and item2 in my Go to Symbol popup. But qualified names like Namespace.item1 won't match. I do find my items in addItems method, but they get filtered out later in com.intellij.ide.util.gotoByName.DefaultChooseByNameItemProvider#matchesQualifier and are not suggested. Any ideas how to solve?

See my code here:

Please sign in to leave a comment.