Plug in compatibility
已回答
The plugin distribution bundles IDE packages 'com.intellij.uiDesigner.core', 'com.intellij.uiDesigner'. Bundling IDE packages is considered bad practice and may lead to sophisticated compatibility problems. Consider excluding these IDE packages from the plugin distribution. If your plugin depends on classes of an IDE bundled plugin, explicitly specify dependency on that plugin instead of bundling it.
and
Deprecated constructor NotificationGroup.<init>(...)
How can I solve these two problems?
请先登录再写评论。
Can someone help me?
Please provide your Gradle configuration and plugin.xml content
For the second issue – check JavaDocs, it contains all the migration information you need.
Gradle is not used
Gradle setup is highly recommended. You may find more information about it in the Getting Started with Gradle article.
Which version of the IntelliJ SDK do you use in your project?
version 2020.2.4
I've spent too much time on plug-in release. Is there any simple way to solve this problem?
You should use the IJ SDK version equal to your since-build value.
This SDK should also be provided, not marked as compile – please double-check your module configuration.
This SDK should also be provided, not marked as compile – please double-check your module configuration.
What should I do? This is the first time I write a plug-in
Again – use Gradle, not the DevKit approach.
Going with your current state of the project, navigate to your project's settings and check the module's configuration.