Reputation: 151
We use framework where for some classes there is xml configuration file. I want to write plugin which adds icon near field declaration (in eclipse that icons are called markers). When click on this icon user navigate to xml configuration for the field. This is similar to spring or hibernate plugin with xml config. How can I add that markers? Is there some open source plugin that do similar things?
Upvotes: 1
Views: 327
Reputation: 401877
Grab IntelliJ IDEA Community Edition source code from GitHub if don't have it already.
Please see com.intellij.navigation.GotoRelatedProvider
, sample implementation can be found in com.theoryinpractice.testng.TestNGRelatedFilesProvider
.
Upvotes: 1