Showing 'Project Strucuture' dialog programmatically

Hello

Is it possible to programmatically launch the 'Project Structure' dialog or any other dialog that is accessible from the 'Settings' dialog? If so, how can it be achieved?

Thanks in advance for any help on this!

etienne

3 comments
Comment actions Permalink

You should be able to do this with com.intellij.openapi.options.ShowSettingsUtil once you get hold of the Configurable instance you want to show. I'd guess that for the Project Structure dialog, this would be what is returned by com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootConfigurable#getInstance.

HTH,
Sascha

0
Comment actions Permalink

Beautiful! Thanks, Sascha.

etienne

0
Comment actions Permalink

see com.intellij.openapi.roots.ui.configuration.ProjectSettingsService

0

Please sign in to leave a comment.