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: https://github.com/ishchenko/idea-mini-ibatis/commit/4e3626ff22d39e7941a3704332c1e3d1b95bb1c6

Please sign in to leave a comment.