2.08 i18n and chinese | 多语言与中文支持

This commit is contained in:
林万程
2023-01-08 21:10:50 +08:00
parent 2c1c6cc5ac
commit 669e818f16
17 changed files with 244 additions and 65 deletions

View File

@@ -8,7 +8,11 @@ Thanks JetBrains Licenses for Open Source.
## Notes 说明
Show doc comment at the Project view Tree, line End, json etc.
Show doc comment at the Project view Tree, line End, json, other
在文件树、行末、JSON 等地方显示注释.
<h2>English Note</h2>
<ul>
<li>"xx-ClassNameOrSimpleName.json" and jump to field
<li>input `doc` `docc` -> /** */
@@ -18,7 +22,7 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>Config: settings -> Tools -> // Show Comment Global/Project
</ul>
<h3>External Comment:</h3>
<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
@@ -31,13 +35,16 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>The tsv conf file must could be search in "Go to File"(Ctrl + Shift + N)
</ul>
<h2>My Other Project</h2>
<h3>My Other Project</h3>
<ul>
<li>Find author/comment of multiple files or lines and export Find:
<a href="https://plugins.jetbrains.com/plugin/20557-find-author">Find Author</a>
<li>Auto sync coverage and capture coverage during debug:
<a href="https://plugins.jetbrains.com/plugin/20780-sync-coverage">Sync Coverage</a>
</ul>
<h2>中文说明:</h2>
<hr>
<h2>中文说明</h2>
<ul>
<li>在结构树显示 文档注释
<li>在行末尾显示 文档注释
@@ -49,7 +56,7 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>修改配置:设置 -> 工具 -> // Show Comment Global/Project
</ul>
<h3>外部注释</h3>
<h3>外部注释</h3>
<a href="https://gitee.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">示例(Gitee)</a>
:比如你要给 .go 的文件配置文件注释可以放在相同目录或父目录的 xxx.go.tree.tsv 中
<ul>
@@ -63,24 +70,38 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>tsv 配置文件必须能被搜索(Ctrl + Shift + N)
</ul>
<h2>我的其他项目</h2>
<h3>我的其他项目</h3>
<ul>
<li>查找多个文件或行的作者导出搜索:
<li>查找多个文件或行的作者导出搜索:
<a href="https://plugins.jetbrains.com/plugin/20557-find-author">Find Author</a>
<li>自动同步覆盖率 和 调试中抓取覆盖率:
<a href="https://plugins.jetbrains.com/plugin/20780-sync-coverage">Sync Coverage</a>
</ul>
<hr>
<h2>找个女朋友</h2>
<ul>
<li>我的情况1993-11-03软件工程师广发银行编制LOLmNS看书写文章KTV爬山逛街
<li>我的性格ISFP(探险家 内向 实际 感性 随性)
<li>希望对方:广东省,与家人关系好,爱笑甜美大眼睛
<li>有兴趣请联系 1498425439@qq.com
</ul>
如果对你有所帮助,别忘了给本项目
<hr>
<h2>支持</h2>
<ul>
<li>如果对你有所帮助,别忘了给本项目
<a href="https://github.com/LinWanCen/show-comment">GitHub</a>
主页一个 Star您的支持是项目前进的动力。
</ul>
<hr>
## Change Notes 更新说明
<h2>English Change Notes:</h2>
<ul>
<li>2.08 Add i18n and chinese
<li>2.07 Add global-setting reset default
<li>2.06 Add project-view-tree xx-abc.xxx from Abc.java doc
<li>2.05 Add line-end-comment json doc from xxx.json.tsv
@@ -117,6 +138,7 @@ Show doc comment at the Project view Tree, line End, json etc.
<h2>中文更新说明:</h2>
<ul>
<li>2.08 增加 多语言与中文支持
<li>2.07 增加 全局设置 复位默认值
<li>2.06 增加 文件树注释 xx-abc.xxx 来自 Abc.java 的文档注释
<li>2.05 增加 行末注释 json 字段注释从 xxx.json.tsv 读取

View File

@@ -4,7 +4,7 @@ plugins {
}
group 'io.github.linwancen'
version '2.07.0.' + (new Date().format('yyyy.MM.dd_HH.mm'))
version '2.08.0.' + (new Date().format('yyyy.MM.dd_HH.mm'))
repositories {
mavenCentral()
@@ -87,6 +87,7 @@ patchPluginXml {
changeNotes = """
<h2>English Change Notes:</h2>
<ul>
<li>2.08 Add i18n and chinese
<li>2.07 Add global-setting reset default
<li>2.06 Add project-view-tree xx-abc.xxx from Abc.java doc
<li>2.05 Add line-end-comment json doc from xxx.json.tsv
@@ -123,6 +124,7 @@ patchPluginXml {
<h2>中文更新说明:</h2>
<ul>
<li>2.08 增加 多语言与中文支持
<li>2.07 增加 全局设置 复位默认值
<li>2.06 增加 文件树注释 xx-abc.xxx 来自 Abc.java 的文档注释
<li>2.05 增加 行末注释 json 字段注释从 xxx.json.tsv 读取

View File

@@ -8,6 +8,7 @@ import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiDocumentManager;
import com.intellij.psi.PsiFile;
import io.github.linwancen.plugin.show.settings.ShowBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -19,10 +20,7 @@ public class CopyReferenceSimple extends CopyReferenceAction {
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
String tip = IdeBundle.message("copy.reference");
if (tip != null && tip.replace("\u001B", "").equals(e.getPresentation().getText())) {
e.getPresentation().setText("Copy Class.Method / File:Line");
}
e.getPresentation().setText(ShowBundle.message("copy.class.method.or.file.line"));
}
private static final Pattern QUALIFIED_PATTERN = Pattern.compile("[\\w.]+\\.");

View File

@@ -12,6 +12,7 @@ import com.intellij.openapi.vfs.VfsUtilCore;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.VirtualFileVisitor;
import io.github.linwancen.plugin.show.bean.FileInfo;
import io.github.linwancen.plugin.show.settings.ShowBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -20,6 +21,12 @@ import org.jetbrains.annotations.Nullable;
*/
public class LineEndAdd extends DumbAwareAction {
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
e.getPresentation().setText(ShowBundle.message("line.end.add"));
}
@Override
public void actionPerformed(@NotNull AnActionEvent event) {
@Nullable Project project = event.getProject();

View File

@@ -8,6 +8,7 @@ import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.ide.CopyPasteManager;
import com.intellij.openapi.project.DumbAwareAction;
import io.github.linwancen.plugin.show.bean.FileInfo;
import io.github.linwancen.plugin.show.settings.ShowBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -18,6 +19,12 @@ import java.awt.datatransfer.StringSelection;
*/
public class LineEndCopy extends DumbAwareAction {
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
e.getPresentation().setText(ShowBundle.message("line.end.copy"));
}
@Override
public void actionPerformed(@NotNull AnActionEvent event) {
ApplicationManager.getApplication().runReadAction(() -> copyWithDoc(event));

View File

@@ -97,13 +97,15 @@ public class ConfCacheGetUtils {
String[] paths = StringUtils.split(path, '/');
String[] confPaths = StringUtils.split(confPath, '/');
int length = confPaths.length;
String lastFolder = confPaths[length - 2];
if (lastFolder.startsWith("-")) {
try {
int i = Integer.parseInt(lastFolder);
length = length + i - 1;
} catch (NumberFormatException e) {
// ignore
if (length > 1) {
String lastFolder = confPaths[length - 2];
if (lastFolder.startsWith("-")) {
try {
int i = Integer.parseInt(lastFolder);
length = length + i - 1;
} catch (NumberFormatException e) {
// ignore
}
}
}
if (length > paths.length) {

View File

@@ -5,6 +5,7 @@ import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import io.github.linwancen.plugin.show.settings.ShowBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -12,6 +13,13 @@ import org.jetbrains.annotations.Nullable;
* call ConfCache.loadAll
*/
public class ReloadExtDocAction extends AnAction {
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
e.getPresentation().setText(ShowBundle.message("reload.ext.doc"));
}
@Override
public void actionPerformed(@NotNull AnActionEvent e) {
@Nullable Project project = e.getProject();

View File

@@ -5,6 +5,7 @@ import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import io.github.linwancen.plugin.show.settings.ShowBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -13,6 +14,13 @@ import org.jetbrains.annotations.Nullable;
* <br>Use Reset only for file sort
*/
public class ResetExtDocAction extends AnAction {
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
e.getPresentation().setText(ShowBundle.message("reset.ext.doc"));
}
@Override
public void actionPerformed(@NotNull AnActionEvent e) {
ConfCache.clearAll();

View File

@@ -23,18 +23,17 @@ public abstract class AbstractSettingsComponent {
@NotNull
protected JPanel commonLineEndFilter(FormBuilder formBuilder) {
formBuilder = formBuilder
.addComponent(new JBLabel("Separated by '|' (Regexp), use '' to include all or exclude none."))
.addComponent(new JBLabel(ShowBundle.message("regexp.tip")))
.addSeparator()
.addLabeledComponent(new JBLabel("className#memberName include Regexp: "), lineInclude, 1, true)
.addLabeledComponent(new JBLabel("className#memberName exclude Regexp: "), lineExclude, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("sign.include.regexp")), lineInclude, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("sign.exclude.regexp")), lineExclude, 1, true)
.addSeparator()
.addLabeledComponent(new JBLabel("comment include Regexp: "), docInclude, 1, true)
.addLabeledComponent(new JBLabel("comment exclude Regexp: "), docExclude, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("comment.include.regexp")), docInclude, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("comment.exclude.regexp")), docExclude, 1, true)
.addSeparator();
formBuilder = add(formBuilder, docGetEffect, this.docGet,
"get doc Regexp, last () when had, default is first sentence .+?(?:[。\\r\\n]|\\. ) :");
formBuilder = add(formBuilder, docGetEffect, this.docGet, ShowBundle.message("get.doc.regexp"));
JPanel lineEndFilter = formBuilder.getPanel();
lineEndFilter.setBorder(IdeBorderFactory.createTitledBorder("Line End Comment"));
lineEndFilter.setBorder(IdeBorderFactory.createTitledBorder(ShowBundle.message("line.end.comment")));
return lineEndFilter;
}

View File

@@ -15,11 +15,10 @@ import java.awt.*;
public class AppSettingsComponent extends AbstractSettingsComponent {
private final JPanel myMainPanel;
private final JButton resetDefault = new JButton("Reset default ");
private final JBCheckBox showTreeComment = new JBCheckBox("Show tree comment ");
private final JBCheckBox compact = new JBCheckBox("compact ");
private final JBCheckBox showTreeComment = new JBCheckBox(ShowBundle.message("show.tree.comment"));
private final JBCheckBox compact = new JBCheckBox(ShowBundle.message("compact"));
private final JBTextField treeTags = new JBTextField();
private final JBCheckBox showLineEndComment = new JBCheckBox("Show line end comment ");
private final JBCheckBox showLineEndComment = new JBCheckBox(ShowBundle.message("show.line.end.comment"));
private final JBCheckBox showLineEndCommentJava = new JBCheckBox("Java ");
private final JBCheckBox showLineEndCommentSql = new JBCheckBox("sql ");
private final JBCheckBox showLineEndCommentJson = new JBCheckBox("json ");
@@ -29,25 +28,26 @@ public class AppSettingsComponent extends AbstractSettingsComponent {
private final JBCheckBox showLineEndCommentGo = new JBCheckBox("Go ");
private final JBCheckBox showLineEndCommentKotlin = new JBCheckBox("Kotlin ");
private final JBTextField lineTags = new JBTextField();
private final JBCheckBox getToSet = new JBCheckBox("get |> set ");
private final JBCheckBox getToSet = new JBCheckBox("get --> set ");
private final JBCheckBox fromNew = new JBCheckBox("java new ");
private final JBCheckBox fromParam = new JBCheckBox("java param ");
private final JBCheckBox skipAnnotation = new JBCheckBox("skip @ ");
private final JBCheckBox skipAscii = new JBCheckBox("skip English ");
private final JBCheckBox skipBlank = new JBCheckBox("skip Blank ");
private final JBCheckBox fromParam = new JBCheckBox("java @param ");
private final JBCheckBox skipAnnotation = new JBCheckBox(ShowBundle.message("skip.anno"));
private final JBCheckBox skipAscii = new JBCheckBox(ShowBundle.message("skip.english"));
private final JBCheckBox skipBlank = new JBCheckBox(ShowBundle.message("skip.blank"));
private final ColorPanel lineEndColor = new ColorPanel();
private final ColorPanel lineEndJsonColor = new ColorPanel();
private final JBTextField lineEndPrefix = new JBTextField();
private final JBTextField lineEndCount = new JBTextField();
public AppSettingsComponent() {
JButton resetDefault = new JButton(ShowBundle.message("reset.default"));
resetDefault.addActionListener(e -> AppSettingsConfigurable.reset(AppSettingsState.DEFAULT_SETTING, this));
myMainPanel = FormBuilder.createFormBuilder()
.addComponent(resetDefault, 1)
.addComponent(showPanel(), 1)
.addComponent(lineEndFilterPanel(), 1)
.addComponentFillVertically(new JPanel(), 0)
.getPanel();
resetDefault.addActionListener(e -> AppSettingsConfigurable.reset(AppSettingsState.DEFAULT_SETTING, this));
}
@NotNull
@@ -64,20 +64,20 @@ public class AppSettingsComponent extends AbstractSettingsComponent {
showLineEndCommentGo,
showLineEndCommentKotlin
), 1)
.addLabeledComponent(new JBLabel("tree tags split by |:"), treeTags, 1, true)
.addLabeledComponent(new JBLabel("line tags split by |:"), lineTags, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("tree.tags")), treeTags, 1, true)
.addLabeledComponent(new JBLabel(ShowBundle.message("line.tags")), lineTags, 1, true)
.getPanel();
comment.setBorder(IdeBorderFactory.createTitledBorder("Show"));
comment.setBorder(IdeBorderFactory.createTitledBorder(ShowBundle.message("show")));
return comment;
}
@NotNull
protected JPanel lineEndFilterPanel() {
@NotNull JPanel text = JPanelFactory.of(
new JBLabel("line count: "), lineEndCount,
new JBLabel("text color: "), lineEndColor,
new JBLabel("json text color: "), lineEndJsonColor,
new JBLabel("prefix: "), lineEndPrefix);
new JBLabel(ShowBundle.message("line.count")), lineEndCount,
new JBLabel(ShowBundle.message("text.color")), lineEndColor,
new JBLabel(ShowBundle.message("text.color.json")), lineEndJsonColor,
new JBLabel(ShowBundle.message("prefix")), lineEndPrefix);
FormBuilder formBuilder = FormBuilder.createFormBuilder()
.addSeparator()
.addComponent(JPanelFactory.of(fromNew, fromParam, getToSet, skipAnnotation, skipAscii, skipBlank), 1)

View File

@@ -16,7 +16,7 @@ public class AppSettingsConfigurable implements Configurable {
@NotNull
@Override
public String getDisplayName() {
return "Show Comment Global.";
return "// Show Comment Global";
}
@NotNull

View File

@@ -9,8 +9,8 @@ import javax.swing.*;
public class ProjectSettingsComponent extends AbstractSettingsComponent {
private final JPanel myMainPanel;
private final JBCheckBox globalFilterEffective = new JBCheckBox("Global Include Exclude Effective");
private final JBCheckBox projectFilterEffective = new JBCheckBox("Project Include Exclude Effective");
private final JBCheckBox globalFilterEffective = new JBCheckBox(ShowBundle.message("global.include.exclude.effective"));
private final JBCheckBox projectFilterEffective = new JBCheckBox(ShowBundle.message("project.include.exclude.effective"));
public ProjectSettingsComponent() {
myMainPanel = FormBuilder.createFormBuilder()

View File

@@ -27,7 +27,7 @@ public class ProjectSettingsConfigurable extends ModuleAwareProjectConfigurable<
@NotNull
@Override
public String getDisplayName() {
return "Show Comment Project.";
return "// Show Comment Project";
}
@NotNull

View File

@@ -0,0 +1,30 @@
package io.github.linwancen.plugin.show.settings;
import com.intellij.DynamicBundle;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;
import java.util.function.Supplier;
public class ShowBundle extends DynamicBundle {
@NonNls
public static final String BUNDLE = "messages.ShowCommentBundle";
private static final ShowBundle INSTANCE = new ShowBundle();
private ShowBundle() {
super(BUNDLE);
}
@NotNull
public static String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
@NotNull Object... params) {
return INSTANCE.getMessage(key, params);
}
@NotNull
public static Supplier<String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
@NotNull Object... params) {
return INSTANCE.getLazyMessage(key, params);
}
}

View File

@@ -4,7 +4,12 @@
<vendor email="1498425439@qq.com" url="https://github.com/LinWanCen/show-comment">林万程</vendor>
<description><![CDATA[
Show doc comment at the Project view Tree, line End, json etc.
Show doc comment at the Project view Tree, line End, json, other
在文件树、行末、JSON 等地方显示注释.
<h2>English Note</h2>
<ul>
<li>"xx-ClassNameOrSimpleName.json" and jump to field
<li>input `doc` `docc` -> /** */
@@ -14,7 +19,7 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>Config: settings -> Tools -> // Show Comment Global/Project
</ul>
<h3>External Comment:</h3>
<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
@@ -27,13 +32,16 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>The tsv conf file must could be search in "Go to File"(Ctrl + Shift + N)
</ul>
<h2>My Other Project</h2>
<h3>My Other Project</h3>
<ul>
<li>Find author/comment of multiple files or lines and export Find:
<a href="https://plugins.jetbrains.com/plugin/20557-find-author">Find Author</a>
<li>Auto sync coverage and capture coverage during debug:
<a href="https://plugins.jetbrains.com/plugin/20780-sync-coverage">Sync Coverage</a>
</ul>
<h2>中文说明:</h2>
<hr>
<h2>中文说明</h2>
<ul>
<li>在结构树显示 文档注释
<li>在行末尾显示 文档注释
@@ -45,7 +53,7 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>修改配置:设置 -> 工具 -> // Show Comment Global/Project
</ul>
<h3>外部注释</h3>
<h3>外部注释</h3>
<a href="https://gitee.com/LinWanCen/show-comment/tree/main/src/test/java/io/github/linwancen/plugin/show/demo/ext">示例(Gitee)</a>
:比如你要给 .go 的文件配置文件注释可以放在相同目录或父目录的 xxx.go.tree.tsv 中
<ul>
@@ -59,17 +67,31 @@ Show doc comment at the Project view Tree, line End, json etc.
<li>tsv 配置文件必须能被搜索(Ctrl + Shift + N)
</ul>
<h2>我的其他项目</h2>
<h3>我的其他项目</h3>
<ul>
<li>查找多个文件或行的作者导出搜索:
<li>查找多个文件或行的作者导出搜索:
<a href="https://plugins.jetbrains.com/plugin/20557-find-author">Find Author</a>
<li>自动同步覆盖率 和 调试中抓取覆盖率:
<a href="https://plugins.jetbrains.com/plugin/20780-sync-coverage">Sync Coverage</a>
</ul>
<hr>
<h2>找个女朋友</h2>
<ul>
<li>我的情况1993-11-03软件工程师广发银行编制LOLmNS看书写文章KTV爬山逛街
<li>我的性格ISFP(探险家 内向 实际 感性 随性)
<li>希望对方:广东省,与家人关系好,爱笑甜美大眼睛
<li>有兴趣请联系 1498425439@qq.com
</ul>
如果对你有所帮助,别忘了给本项目
<hr>
<h2>支持</h2>
<ul>
<li>如果对你有所帮助,别忘了给本项目
<a href="https://github.com/LinWanCen/show-comment">GitHub</a>
主页一个 Star您的支持是项目前进的动力。
</ul>
<hr>
]]></description>
<!-- please see https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html
@@ -127,6 +149,12 @@ Show doc comment at the Project view Tree, line End, json etc.
text="🆑 // Clear External Comment">
<add-to-group group-id="ToolsMenu"/>
</action>
<action
id="io.github.linwancen.plugin.show.LineEndAdd"
class="io.github.linwancen.plugin.show.LineEndAdd"
text="// Add Line Comment">
<add-to-group group-id="ProjectViewPopupMenu" anchor="last"/>
</action>
<action
id="io.github.linwancen.plugin.show.LineEndCopy"
class="io.github.linwancen.plugin.show.LineEndCopy"
@@ -137,15 +165,9 @@ Show doc comment at the Project view Tree, line End, json etc.
<action
id="io.github.linwancen.plugin.show.CopyReferenceSimple"
class="io.github.linwancen.plugin.show.CopyReferenceSimple"
text="Copy Class.Method / File:Line">
text="Copy Class.Method / File:LineNum">
<add-to-group group-id="EditorPopupMenu" anchor="after"
relative-to-action="CopyReference"/>
</action>
<action
id="io.github.linwancen.plugin.show.LineEndAdd"
class="io.github.linwancen.plugin.show.LineEndAdd"
text="// Add Line Comment">
<add-to-group group-id="ProjectViewPopupMenu" anchor="last"/>
</action>
</actions>
</idea-plugin>

View File

@@ -0,0 +1,37 @@
reset.default=Reset default
show=Show
show.line.end.comment=Show line end comment
show.tree.comment=Show tree comment
compact=compact
skip.anno=skip @
skip.blank=skip Blank
skip.english=skip English
line.tags=line doc @ tags split by |:
tree.tags=tree doc @ tags split by |:
line.count=line count:
text.color=text color:
text.color.json=json text color:
prefix=prefix:
line.end.comment=Line End Comment
regexp.tip=Separated by '|' (Regexp), use '' to include all or exclude none.
sign.include.regexp=className#memberName include Regexp:
sign.exclude.regexp=className#memberName exclude Regexp:
comment.include.regexp=comment include Regexp:
comment.exclude.regexp=comment exclude Regexp:
get.doc.regexp=get doc Regexp, last () when had, default is first sentence .+?(?:[\u3002\r\n]|. ) :
global.include.exclude.effective=Global Include Exclude Effective
project.include.exclude.effective=Project Include Exclude Effective
reload.ext.doc=\uD83D\uDD04 // Reload External Comment
reset.ext.doc=\uD83C\uDD91 // Clear External Comment
line.end.add=// Add Line Comment
line.end.copy=// Copy With Line Comment
copy.class.method.or.file.line=Copy Class.Method / File:LineNum

View File

@@ -0,0 +1,37 @@
reset.default=\u6062\u590D\u9ED8\u8BA4
show=\u663E\u793A
show.tree.comment=\u663E\u793A\u6587\u4EF6\u6811\u6CE8\u91CA
show.line.end.comment=\u663E\u793A\u884C\u672B\u6CE8\u91CA
compact=\u652F\u6301\u538B\u7F29
line.tags=\u884C\u6CE8\u91CA @ \u6807\u7B7E | \u5206\u9694
tree.tags=\u6811\u6CE8\u91CA @ \u6807\u7B7E | \u5206\u9694
skip.anno=\u8DF3\u8FC7 @ \u6CE8\u89E3
skip.blank=\u5FFD\u7565\u7A7A\u767D
skip.english=\u5FFD\u7565\u82F1\u6587
line.count=\u663E\u793A\u884C\u6570\uFF1A
text.color=\u6587\u672C\u989C\u8272\uFF1A
text.color.json=json \u6587\u672C\u989C\u8272\uFF1A
prefix=\u524D\u7F00\uFF1A
line.end.comment=\u884C\u672B\u6CE8\u91CA
regexp.tip=| \u5206\u9694 (\u6B63\u5219), \u7A7A\u5B57\u7B26\u4E32\u4EE3\u8868\u5305\u62EC\u6240\u6709\u6216\u4E0D\u6392\u9664
sign.include.regexp=\u7C7B#\u65B9\u6CD5 \u5305\u542B \u6B63\u5219\uFF1A
sign.exclude.regexp=\u7C7B#\u65B9\u6CD5 \u6392\u9664 \u6B63\u5219\uFF1A
comment.include.regexp=\u6CE8\u91CA \u5305\u542B \u6B63\u5219\uFF1A
comment.exclude.regexp=\u6CE8\u91CA \u6392\u9664 \u6B63\u5219\uFF1A
get.doc.regexp=\u6CE8\u91CA\u63D0\u53D6\u6B63\u5219\uFF0C\u82E5\u6709 () \u5219\u53D6\u6700\u540E\u4E00\u4E2A\uFF0C\u9ED8\u8BA4\u6B63\u5219\u662F\u7B2C\u4E00\u53E5 .+?(?:[\u3002\r\n]|. ) :
global.include.exclude.effective=\u5168\u5C40\u5305\u542B\u6392\u9664\u751F\u6548
project.include.exclude.effective=\u9879\u76EE\u5305\u542B\u6392\u9664\u751F\u6548
reload.ext.doc=\uD83D\uDD04 // \u91CD\u65B0\u8BFB\u53D6\u5916\u90E8\u6CE8\u91CA
reset.ext.doc=\uD83C\uDD91 // \u6E05\u7406\u5916\u90E8\u6CE8\u91CA
line.end.add=// \u6DFB\u52A0\u81EA\u52A8\u6CE8\u91CA
line.end.copy=// \u590D\u5236 \u5E26\u81EA\u52A8\u6CE8\u91CA
copy.class.method.or.file.line=\u590D\u5236 \u7C7B.\u65B9\u6CD5 / \u6587\u4EF6:\u884C\u53F7