From 356fe6caafd0b8d613e2a51cda09d8ed885990ba Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Tue, 11 Mar 2025 10:15:43 +0100 Subject: [PATCH] =?UTF-8?q?Removed=20example=20code=20=E2=80=93=20`MyAppli?= =?UTF-8?q?cationActivationListener`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../listeners/MyApplicationActivationListener.kt | 12 ------------ src/main/resources/META-INF/plugin.xml | 4 ---- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 src/main/kotlin/org/jetbrains/plugins/template/listeners/MyApplicationActivationListener.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index 07127dd..e416e10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Removed +- Example code – `MyApplicationActivationListener` - Remove redundant IntelliJ Platform dependency helpers: `instrumentationTools()`, `pluginVerifier()`, `zipSigner()` - GitHub Actions: Remove `gradle/actions/wrapper-validation` because validation is performed by default in `gradle/actions/setup-gradle@v4` diff --git a/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyApplicationActivationListener.kt b/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyApplicationActivationListener.kt deleted file mode 100644 index 7f03dd4..0000000 --- a/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyApplicationActivationListener.kt +++ /dev/null @@ -1,12 +0,0 @@ -package org.jetbrains.plugins.template.listeners - -import com.intellij.openapi.application.ApplicationActivationListener -import com.intellij.openapi.diagnostic.thisLogger -import com.intellij.openapi.wm.IdeFrame - -internal class MyApplicationActivationListener : ApplicationActivationListener { - - override fun applicationActivated(ideFrame: IdeFrame) { - thisLogger().warn("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") - } -} diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index a812002..910aa5c 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -11,8 +11,4 @@ - - - -