1.21 default skip only English when system lang is not en | 系统语言非英文时 默认 忽略纯英文

This commit is contained in:
林万程
2022-08-06 05:00:21 +08:00
parent 2e42026154
commit c17d7494f3
4 changed files with 12 additions and 3 deletions

View File

@@ -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() {

View File

@@ -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 // 文件(夹)注释 📝 📁