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
Please sign in to leave a comment.
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
Beautiful! Thanks, Sascha.
etienne
see com.intellij.openapi.roots.ui.configuration.ProjectSettingsService