1.21 default skip only English when system lang is not en | 系统语言非英文时 默认 忽略纯英文
This commit is contained in:
@@ -17,6 +17,7 @@ Thanks JetBrains Licenses for Open Source.
|
||||
</ul>
|
||||
|
||||
<h3>External Comment:</h3>
|
||||
<a href="https://github.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">Demo(GitHub)</a>
|
||||
<ul>
|
||||
<li>Reload: Tools -> 🔄 // Reload External Comment
|
||||
<li>path/[any][filename.]ext.tree.tsv // file and folder tree comment 📝 📁
|
||||
@@ -39,6 +40,7 @@ Thanks JetBrains Licenses for Open Source.
|
||||
</ul>
|
||||
|
||||
<h3>外部注释:</h3>
|
||||
<a href="https://gitee.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">示例(Gitee)</a>
|
||||
<ul>
|
||||
<li>重新加载:工具 -> "🔄 // Reload External Comment"
|
||||
<li>path/[any][filename.]ext.tree.tsv // 文件(夹)注释 📝 📁
|
||||
@@ -56,6 +58,7 @@ Thanks JetBrains Licenses for Open Source.
|
||||
|
||||
<h2>English Change Notes:</h2>
|
||||
<ul>
|
||||
<li>1.21 Add line-end-comment default skip only English when system lang is not `en`
|
||||
<li>1.20 Add get doc first sentence checkbox
|
||||
<li>1.19 Add supper doc at @Override, support doc tag like @author
|
||||
<li>1.18 Add External Comment effect at previous layer when folder named -1
|
||||
@@ -80,6 +83,7 @@ Thanks JetBrains Licenses for Open Source.
|
||||
|
||||
<h2>中文更新说明:</h2>
|
||||
<ul>
|
||||
<li>1.21 增加 行末注释 系统语言非英文时 默认 忽略纯英文
|
||||
<li>1.20 增加 获取第一句注释选项
|
||||
<li>1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
|
||||
<li>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)
|
||||
[COBOL Highlighting | COBOL 高亮配置](src/test/java/io/github/linwancen/plugin/show/demo/ext/cobol/cobol/COBOL_IDEA.md)
|
||||
@@ -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 = """
|
||||
<h2>English Change Notes:</h2>
|
||||
<ul>
|
||||
<li>1.21 Add line-end-comment default skip only English when system lang is not `en`
|
||||
<li>1.20 Add get doc first sentence checkbox
|
||||
<li>1.19 Add supper doc at @Override, support doc tag like @author
|
||||
<li>1.18 Add External Comment effect at previous layer when folder named -1
|
||||
@@ -63,6 +64,7 @@ patchPluginXml {
|
||||
|
||||
<h2>中文更新说明:</h2>
|
||||
<ul>
|
||||
<li>1.21 增加 行末注释 系统语言非英文时 默认 忽略纯英文
|
||||
<li>1.20 增加 获取第一句注释选项
|
||||
<li>1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
|
||||
<li>1.18 增加 外部注释 文件夹名为 -1 时配置在上一层文件夹生效
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
</ul>
|
||||
|
||||
<h3>External Comment:</h3>
|
||||
<a href="https://github.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">Demo(GitHub)</a>
|
||||
<ul>
|
||||
<li>Reload: Tools -> 🔄 // Reload External Comment
|
||||
<li>path/[any][filename.]ext.tree.tsv // file and folder tree comment 📝 📁
|
||||
@@ -36,6 +37,7 @@
|
||||
</ul>
|
||||
|
||||
<h3>外部注释:</h3>
|
||||
<a href="https://gitee.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">示例(Gitee)</a>
|
||||
<ul>
|
||||
<li>重新加载:工具 -> "🔄 // Reload External Comment"
|
||||
<li>path/[any][filename.]ext.tree.tsv // 文件(夹)注释 📝 📁
|
||||
|
||||
Reference in New Issue
Block a user