Link to facet editor


We're proxying a setting from a module's facet in the deployment run config editor.

If the user wants to edit that setting, we want to add a link to the facet in the editor so they can edit it in the facet editor, instead of in the deployment one.

Looking at one example from, ShowSettingsUtil is being used. However, this requires a facet configurable, and after looking at the source for a while, it's not trivial how to get that facet configurable.

The question: what is the best way to add this link to the editor?

Thanks a lot,


Official comment

com.intellij.openapi.roots.ui.configuration.ModulesConfigurator#showFacetSettingsDialog(Facet, tabName) is another possibility

That works! Thanks a bunch


Please sign in to leave a comment.