fix setting label and name separator . to # | 修正设置界面的排除选项提示和名字分隔符点改成#

This commit is contained in:
林万程
2022-06-08 22:54:56 +08:00
parent c8a83f09ea
commit 6237f1dfa7
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ class SkipUtils {
text = ((PsiClass) psiElement).getQualifiedName();
} else if (psiElement instanceof PsiMember) {
PsiMember psiMember = (PsiMember) psiElement;
text = psiMember.getContainingClass() + "." + psiMember.getName();
text = psiMember.getContainingClass() + "#" + psiMember.getName();
} else {
return true;
}

View File

@@ -21,11 +21,11 @@ public abstract class AbstractSettingsComponent {
JPanel lineEndFilter = formBuilder
.addComponent(new JBLabel("Separated by '|' (Regexp), use '' to include all or exclude none."))
.addSeparator()
.addLabeledComponent(new JBLabel("className include Regexp: "), lineInclude, 1, true)
.addLabeledComponent(new JBLabel("className include Regexp: "), lineExclude, 1, true)
.addLabeledComponent(new JBLabel("className#memberName include Regexp: "), lineInclude, 1, true)
.addLabeledComponent(new JBLabel("className#memberName exclude Regexp: "), lineExclude, 1, true)
.addSeparator()
.addLabeledComponent(new JBLabel("comment include Regexp: "), docInclude, 1, true)
.addLabeledComponent(new JBLabel("comment include Regexp: "), docExclude, 1, true)
.addLabeledComponent(new JBLabel("comment exclude Regexp: "), docExclude, 1, true)
.getPanel();
lineEndFilter.setBorder(IdeBorderFactory.createTitledBorder(
"Line End Comment"));