How to add "Browse Hierarchy" functionality in custom language plugin

Hi,

I am currently working on a custom language plugin. I want to proivide a "Browse Hierarchy" functionality that shows the class hierarchy of the currently edited class.

I have been adding an <typeHierarchyProvider> extension point to my plugin.xml, but I am completely lost on how to best implement the HierarchyBrowser class. What would be a good base class to derive from? Maybe TypeHierarchyBrowserBase? What kind of framework methods would I have to override/implement to use this base class?

Could you please add some recipe to the documantation at:

http://confluence.jetbrains.net/display/IDEADEV/Developing+Custom+Language+Plugins+for+IntelliJ+IDEA

Best Regards,

Heiko

Please sign in to leave a comment.