Setting configurable parent id doesn't work in 14.1

I have two configurables, one for global and the other for project level settings, like this:

<applicationConfigurable id="com.foobar.AppSettings"
groupId="root"
instance="com.some.package.AppConfigurable" />

<projectConfigurable id="com.foobar.ProjectSettings"
parentId="com.foobar.AppSettings"
instance="com.some.package.ProjectConfigurable"/>

In IntelliJ 15 and 2016 project settings are a node under the app settings, but in 14 the project settings are under "Other settings". I can make an ugly workaround by using dynamic children, but then I lose the UX that shows project level settings.

Is there a way to solve this for all versions 14 - 2016, or provide the workaround just for 14?

 

4 comments

Sorry, but IDEA 14 processes settings for an application and for a project separately, so you cannot create a tree branch.

I fixed this behaviour in IDEA 15.

 

Also, do not forget to specify displayName to improve performance:

http://sites.google.com/site/malenkov/java/150403

0

And for the tip as well. I wish I would have found that linked website when I started this task. Maybe that should be in the SDK documentation?

0

Almost all content of the article in the javadoc for:

com.intellij.openapi.options.Configurable

I'll think about adding it to the SDK docs.

Thank you!

0

Please sign in to leave a comment.