diff --git a/README.md b/README.md
index 2daa733..04659e1 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@ Thanks JetBrains Licenses for Open Source.
External Comment:
+Demo(GitHub)
- Reload: Tools -> 🔄 // Reload External Comment
- path/[any][filename.]ext.tree.tsv // file and folder tree comment 📝 📁
@@ -39,6 +40,7 @@ Thanks JetBrains Licenses for Open Source.
外部注释:
+示例(Gitee)
- 重新加载:工具 -> "🔄 // Reload External Comment"
- path/[any][filename.]ext.tree.tsv // 文件(夹)注释 📝 📁
@@ -56,6 +58,7 @@ Thanks JetBrains Licenses for Open Source.
English Change Notes:
+- 1.21 Add line-end-comment default skip only English when system lang is not `en`
- 1.20 Add get doc first sentence checkbox
- 1.19 Add supper doc at @Override, support doc tag like @author
- 1.18 Add External Comment effect at previous layer when folder named -1
@@ -80,6 +83,7 @@ Thanks JetBrains Licenses for Open Source.
中文更新说明:
+- 1.21 增加 行末注释 系统语言非英文时 默认 忽略纯英文
- 1.20 增加 获取第一句注释选项
- 1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
- 1.18 增加 外部注释 文件夹名为 -1 时配置在上一层文件夹生效
@@ -111,4 +115,4 @@ See in IDEA with this plugin | 安装插件后用 IDEA 查看
- [Java Doc Comment Demo | Java 文档注释](src/test/java/io/github/linwancen/plugin/show/demo/java/Call.java)
- [JSON Doc Comment Demo | JSON 文档注释](src/test/java/io/github/linwancen/plugin/show/demo/json/base Pojo.json)
- [External Comment Demo For COBOL | 外部注释 Demo](src/test/java/io/github/linwancen/plugin/show/demo/ext/cobol/demo/BASE.cbl)
- [COBOL Highlighting | COBOL 高亮配置](src/test/java/io/github/linwancen/plugin/show/demo/ext/cobol/COBOL_IDEA.md)
\ No newline at end of file
+ [COBOL Highlighting | COBOL 高亮配置](src/test/java/io/github/linwancen/plugin/show/demo/ext/cobol/cobol/COBOL_IDEA.md)
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 432eb74..9be2b42 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
group 'io.github.linwancen'
-version '1.20.1.' + (new Date().format('yyyy.MM.dd_HH.mm'))
+version '1.21.0.' + (new Date().format('yyyy.MM.dd_HH.mm'))
apply plugin: 'java'
@@ -39,6 +39,7 @@ patchPluginXml {
changeNotes = """
English Change Notes:
+- 1.21 Add line-end-comment default skip only English when system lang is not `en`
- 1.20 Add get doc first sentence checkbox
- 1.19 Add supper doc at @Override, support doc tag like @author
- 1.18 Add External Comment effect at previous layer when folder named -1
@@ -63,6 +64,7 @@ patchPluginXml {
中文更新说明:
+- 1.21 增加 行末注释 系统语言非英文时 默认 忽略纯英文
- 1.20 增加 获取第一句注释选项
- 1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
- 1.18 增加 外部注释 文件夹名为 -1 时配置在上一层文件夹生效
diff --git a/src/main/java/io/github/linwancen/plugin/show/settings/AppSettingsState.java b/src/main/java/io/github/linwancen/plugin/show/settings/AppSettingsState.java
index fc2c747..9a8bd6d 100644
--- a/src/main/java/io/github/linwancen/plugin/show/settings/AppSettingsState.java
+++ b/src/main/java/io/github/linwancen/plugin/show/settings/AppSettingsState.java
@@ -13,6 +13,7 @@ import org.jetbrains.annotations.Nullable;
import java.awt.*;
import java.math.BigInteger;
+import java.util.Locale;
@State(
name = "io.github.linwancen.plugin.show.settings.AppSettingsState",
@@ -40,7 +41,7 @@ public class AppSettingsState extends AbstractSettingsState implements Persisten
public boolean fromRef = true;
public boolean inJson = true;
public boolean skipAnnotation = true;
- public boolean skipAscii = false;
+ public boolean skipAscii = !"en".equals(Locale.getDefault().getLanguage());
public boolean skipBlank = true;
public static AppSettingsState getInstance() {
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 95731b0..184098e 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -14,6 +14,7 @@
External Comment:
+Demo(GitHub)
- Reload: Tools -> 🔄 // Reload External Comment
- path/[any][filename.]ext.tree.tsv // file and folder tree comment 📝 📁
@@ -36,6 +37,7 @@
外部注释:
+示例(Gitee)
- 重新加载:工具 -> "🔄 // Reload External Comment"
- path/[any][filename.]ext.tree.tsv // 文件(夹)注释 📝 📁