<groupConfigurable> is not configurable
Answered
I declare a Settings group named '<groupConfigurable>' and a child named '<applicationConfigurable>' for the Settings group, but I find that the Settings group is not configurable. I want to know why.
plugin.xml:
<groupConfigurable id="JsonAssistant.Configurable.JsonAssistantMainGroupConfigurable"
parentId="tools"
displayNameKey="plugin.group.configurable.displayName.key"
descriptionKey="plugin.group.configurable.description.key"
bundle="messages.JsonAssistantBundle"/>
<applicationConfigurable
groupId="JsonAssistant.Configurable.JsonAssistantMainGroupConfigurable"
instance="cn.memoryzy.json.extension.EditorOptionsConfigurable"
id="JsonAssistant.Configurable.EditorOptionsConfigurable"
displayName="Json Viewer"/>
bundle:
plugin.group.configurable.displayName.key=Json Assistant
plugin.group.configurable.description.key=<html><body>12ssssssss</body></html>
Please sign in to leave a comment.
Hi,
Your registration looks correct to me.
Is there anything in logs?
What are full implementations of the group, configurable?
What is the IDE context (IDE type and version)?
There doesn't seem to be anything special in the logs.
idea.log:
Full implementation:
JsonAssistantBundle.properties:
JsonAssistantBundle_zh.properties:
IDE info:
You most likely forgot to paste the full implementation of your classes.
Are you referring to
cn.memoryzy.json.extension.EditorOptionsConfigurable
?I made a mistake, the IDE version should be IntelliJ IDEA 2022.1.4 (Community Edition)
I still don't know how to fix this.
Hi,
It seems like a bug. Please report at https://youtrack.jetbrains.com/issues/IJPL.
Also, consider avoiding creating a custom group, if you don't have many configurable for it. From
com.intellij.openapi.options.ex.ConfigurableGroupEP
doc:Ok, thank you very much!