attributes of extension point

已回答

Hi,

How can I get the list of attributes supported by particular extension? 

For e.g.  <projectConfigurable> extension has displayName, id , parentId etc... as shown below

<projectConfigurable instance="org.rust.cargo.project.configurable.CargoConfigurable" displayName="Cargo" parentId="language.rust" id="language.rust.cargo"/>

Where can I find complete set of attributes supported by particular extension?

0
正式评论

Attributes are defined in corresponding ExtensionPoint bean, in this case com.intellij.openapi.options.ConfigurableEP.

Completion is provided in plugin.xml descriptor via org.jetbrains.idea.devkit.dom.impl.ExtensionDomExtender#registerField where you can find more details how properties are introspected.

请先登录再写评论。