How to make reference be marked as usage, if it has different text from referenced element.

I have some classes, marked with annotation @UiController("classId"), that provided special id for them.  The classes can be referenced by this "classId". These references are showed in Usages only if id equals class name. How to make references be showed in Usage independent of their text?

Thank you.

1 comment

Hi Alexander,

you need to provide custom searcher, you may see e.g. `org.jetbrains.plugins.javaFX.fxml.refs.JavaFxControllerFieldSearcher` for sample code.



Please sign in to leave a comment.