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 @@ - + + + 全局变量说明

说明文档:

@@ -18,4 +20,4 @@ 通常用于定义宏,初始化操作,定义字符串变量,等等。

- \ No newline at end of file + diff --git a/src/main/resources/description/templateDescription.html b/src/main/resources/description/templateDescription.html index ca5a4e5..1ea6d82 100644 --- a/src/main/resources/description/templateDescription.html +++ b/src/main/resources/description/templateDescription.html @@ -1,6 +1,7 @@ - + + 模板描述
说明文档:
@@ -67,4 +68,4 @@ $dbUtil Database提供的工具类,具体可方法请查看源码,适用于高端玩家 - \ No newline at end of file +