mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
plugin_extensions.md: minor, fix
This commit is contained in:
parent
ba9ce06083
commit
fc97e31dbf
@ -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):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user