1.3 support class in tree, constructor and field type in line end | 支持 class 树节点、构造方法和字段的行末注释

This commit is contained in:
林万程
2022-02-16 22:21:57 +08:00
parent 452101843c
commit 74d1f9adf5
7 changed files with 81 additions and 35 deletions

View File

@@ -5,7 +5,6 @@ import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.editor.markup.TextAttributes;
import com.intellij.ui.Gray;
import com.intellij.ui.JBColor;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.NotNull;
@@ -24,7 +23,8 @@ public class AppSettingsState implements PersistentStateComponent<AppSettingsSta
@SuppressWarnings("all")
public Color lineEndColorBright = new Color(98, 151, 85);
public Color lineEndColorDark = Gray._140;
@SuppressWarnings("all")
public Color lineEndColorDark = new Color(98, 151, 85);
public final TextAttributes lineEndTextAttr = new TextAttributes(new JBColor(lineEndColorBright, lineEndColorDark),
null, null, null, Font.ITALIC);

View File

@@ -5,7 +5,6 @@ import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.ProjectManager;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;