mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
plugin_extensions.md: minor
This commit is contained in:
parent
c5aba03ad3
commit
20cac10a3a
@ -1,4 +1,4 @@
|
|||||||
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
<!-- Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
|
|
||||||
@ -88,8 +88,6 @@ When using [Kotlin](using_kotlin.md):
|
|||||||
- Do not use `companion object` to avoid excessive classloading/initialization when the extension class is loaded.
|
- Do not use `companion object` to avoid excessive classloading/initialization when the extension class is loaded.
|
||||||
Use top-level declarations or objects instead. [More details](using_kotlin.md#companion-object-extensions)
|
Use top-level declarations or objects instead. [More details](using_kotlin.md#companion-object-extensions)
|
||||||
|
|
||||||
> 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.
|
|
||||||
|
|
||||||
</procedure>
|
</procedure>
|
||||||
|
|
||||||
### Extension Properties Code Insight
|
### Extension Properties Code Insight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user