1.21 default skip only English when system lang is not en | 系统语言非英文时 默认 忽略纯英文
This commit is contained in:
@@ -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