I'm trying to develop a custom language plugin using the tutorial (https://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/find_usages_provider.html). I extended this by typical INI/config file format blocks and property referencing, meaning the syntax enables something similar to this:
abc = xyz
property = value
whatever = 123
test = $abc # references the property abc
Everything works fine, the structure view shows the properties under the blocks, but when I move the cursor on the property abc and try to find usages the usages are not listed under each block like in the structure view, although the file structure grouper is enabled. Also the location string is not displayed as promised by the description of getLocation() in ItemRepresentation. How can I find out what I am doing wrong? Does someone have a hint where to look, what to debug etc.? I'm using a ReferenceContributor to gather the references correctly. Is this okay?