From d27143956faabd7bdc0a11f94c938b35a37eef3b Mon Sep 17 00:00:00 2001 From: makejava <1353036300@qq.com> Date: Mon, 1 Feb 2021 17:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/sjhy/plugin/actions/ConfigAction.java | 3 ++- src/main/resources/description/globalConfigDescription.html | 6 ++++-- src/main/resources/description/templateDescription.html | 5 +++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/sjhy/plugin/actions/ConfigAction.java b/src/main/java/com/sjhy/plugin/actions/ConfigAction.java index 65380e5..633f0b9 100644 --- a/src/main/java/com/sjhy/plugin/actions/ConfigAction.java +++ b/src/main/java/com/sjhy/plugin/actions/ConfigAction.java @@ -4,6 +4,7 @@ import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.Project; import com.sjhy.plugin.ui.ConfigTableDialog; +import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; /** @@ -29,7 +30,7 @@ public class ConfigAction extends AnAction { * @param event 事件对象 */ @Override - public void actionPerformed(AnActionEvent event) { + public void actionPerformed(@NotNull AnActionEvent event) { Project project = event.getProject(); if (project == null) { return; diff --git a/src/main/resources/description/globalConfigDescription.html b/src/main/resources/description/globalConfigDescription.html index 875e8c7..cddddf0 100644 --- a/src/main/resources/description/globalConfigDescription.html +++ b/src/main/resources/description/globalConfigDescription.html @@ -1,6 +1,8 @@ - + +
+