plugin_extensions.md: minor, fix

This commit is contained in:
Yann Cébron 2025-01-14 13:09:46 +01:00
parent ba9ce06083
commit fc97e31dbf

View File

@ -81,6 +81,7 @@ Please note the following important points:
- Avoid any initialization in the constructor, see also notes for [services](plugin_services.md#ctor). - Avoid any initialization in the constructor, see also notes for [services](plugin_services.md#ctor).
- Do not perform any static initialization. Use inspection <control>Plugin DevKit | Code | Static initialization in extension point implementations</control> (2023.3). - Do not perform any static initialization. Use inspection <control>Plugin DevKit | Code | Static initialization in extension point implementations</control> (2023.3).
- An extension implementation must not be registered as a [service](plugin_services.md) additionally. Use inspection <control>Plugin DevKit | Code | Extension registered as service/component</control> (2023.3). - An extension implementation must not be registered as a [service](plugin_services.md) additionally. Use inspection <control>Plugin DevKit | Code | Extension registered as service/component</control> (2023.3).
- If an extension instance needs to "opt out" in certain scenarios, it can throw [`ExtensionNotApplicableException`](%gh-ic%/platform/extensions/src/com/intellij/openapi/extensions/ExtensionNotApplicableException.java) in its constructor.
When using [Kotlin](using_kotlin.md): When using [Kotlin](using_kotlin.md):