Is it possible ro replace an extension with my own


I would like to replace the logic of a built-in extension with my own. For that I would need to declare the existing extension to not be used. Is that possible?


Hi Simon,

Take a look at: com.intellij.ide.plugins.PluginReplacement.


Thanks for the quick response. That is a bit too broad for my use case.

I just want to replace one type of reference contributor with my own. I actually depend on the other plugin's source and don't want to lose everything else. But it sounds as if that isn't possible.



Sorry, I misunderstood that you want to replace the entire plugin, not a single extension, my bad.

I don't think it is possible to replace a single reference contributor. Maybe it is possible to request a new extension in the plugin you depend on, that would allow achieving what you need.


Please sign in to leave a comment.