プラグインの拡張として登録されている Kotlin オブジェクトを報告します。

拡張のライフサイクルは IntelliJ プラットフォームによって管理されます。 拡張の登録に Kotlin オブジェクトを使用すると、不要な拡張インスタンスが作成され、プラグインをアンロードできなくなる可能性があります。

拡張の登録:


<annotator language="myLang" implementationClass="com.example.MyAnnotator"/>

拡張の実装:


// 不適切:
object MyAnnotator : Annotator {
  ...
}

// 適切:
class MyAnnotator : Annotator {
  ...
}

2023.1 の新機能です