Skip to content

Commit

Permalink
v1.12 fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
starcwang committed Jun 20, 2020
1 parent 59dd97a commit c2790bd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'com.star.easydoc'
version '1.11'
version '1.12'

sourceCompatibility = 1.8

Expand All @@ -30,6 +30,10 @@ patchPluginXml {
changeNotes """
This plugin can help you complete the Chinese javadoc document quickly.<br>
Support three type of javadoc: field, method and class.<br>
<h3>v1.12 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.11 update</h3>
<ul>
<li>fix some bugs</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
}

PsiElement psiElement = anActionEvent.getData(LangDataKeys.PSI_ELEMENT);
if (psiElement == null) {
if (psiElement == null || psiElement.getNode() == null) {
return;
}

Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
Support three type of javadoc: field, method and class.<br>
<a href="https://github.com/starcwang/easy_javadoc">easy-javadoc source code and document</a><br>
<img src="https://raw.githubusercontent.com/starcwang/easy_javadoc/master/doc/k03vffH6Hg.gif" /><br>
<h3>v1.12 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.11 update</h3>
<ul>
<li>fix some bugs</li>
Expand Down Expand Up @@ -65,6 +69,10 @@
]]></description>

<change-notes><![CDATA[
<h3>v1.12 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.11 update</h3>
<ul>
<li>fix some bugs</li>
Expand Down

0 comments on commit c2790bd

Please sign in to comment.