Is it possible to open the settings menu of the IDE programaticly and jump to a specific Point?

Hello,

I want to open the Settings Menu from the IDE programaticaly and jump to a specific point.

Is this even possible and when how?

regards

Chris

0
3 comments

See `com.intellij.openapi.options.ShowSettingsUtil`.

`showSettingsDialog` will show settings dialog with passed tab selected.
`editConfigurable` will show passed Configurable as a separate window.

1

Thank you.

Seems like the second string argument is path to which settings I want to go.

Is their a list avaiable for this paths?

 

0

(I assume, you're talking about `showSettingsDialog(Project project, String nameToSelect)` method)

This "nameToSelect" is just `Configurable#getDisplayName` (User-visible string in a settings tree: "Code Folding", "Live Templates", "Diff & Merge").

0

Please sign in to leave a comment.