GotoClassContributor and navigation item
Answered
Hi, I have implemented a GotoClassContributor that display my elements (I use an instance of NavigationItem).
Why my elements are not aligned with normal/java items and how to add the text+icon on the right ?
I certainly need to implement a different NavigationItem, but which one ? I can't find it.
thanks
Please sign in to leave a comment.
The implementation for Java class is found in com.intellij.psi.presentation.java.ClassPresentationProvider.
See com.intellij.ide.util.ModuleRendererFactory extension point to customize the presentation on the right side.
Thanks, I will look at ModuleRendererFactory
Exactly what I needed. still have a small alignment problem on the right but it’s ok, thank you