diff --git a/topics/basics/plugin_structure/plugin_extensions.md b/topics/basics/plugin_structure/plugin_extensions.md index e019e4f9f..dbeb10964 100644 --- a/topics/basics/plugin_structure/plugin_extensions.md +++ b/topics/basics/plugin_structure/plugin_extensions.md @@ -30,12 +30,12 @@ See [](explore_api.md) for more information and strategies. -1. Add an [``](plugin_configuration_file.md#idea-plugin__extensions) element to your plugin.xml if it's not yet present there. +1. Add an [``](plugin_configuration_file.md#idea-plugin__extensions) element to plugin.xml if it's not yet present there. Set the `defaultExtensionNs` attribute to one of the following values: - * `com.intellij` if your plugin extends the IntelliJ Platform core functionality. - * `{ID of a plugin}` if your plugin extends the functionality of another plugin (must configure [Plugin Dependencies](plugin_dependencies.md)). + * `com.intellij` if the plugin extends the IntelliJ Platform core functionality. + * `{ID of a plugin}` if the plugin extends the functionality of another plugin (must configure [plugin dependencies](plugin_dependencies.md)). 2. Add a new child element to the `` element. - The child element's name must match the name of the extension point you want the extension to access. + The child element's name must match the name of the used [extension point](plugin_extension_points.md). 3. Depending on the type of the extension point, do one of the following: * If the extension point was declared using the `interface` attribute, set the `implementation` attribute to the name of the class that implements the specified interface. * If the extension point was declared using the `beanClass` attribute, set all properties annotated with the [`@Attribute`](%gh-ic%/platform/util/src/com/intellij/util/xmlb/annotations/Attribute.java) and [`Tag`](%gh-ic%/platform/util/src/com/intellij/util/xmlb/annotations/Tag.java) annotations in the specified bean class.