My `HighlightVisitor` been covered by intellij built-in functionality
I have a intellij plugin called intellij-rainbow-brackets , this plugin design for rainbow brackets with different level with different level color.
And one feature of this plugin is to rainbow brackets for javascript language, but the behavior has been covered be intellij build-in functionality:
My code snippet:
"use strict";
var html = '<div><div><div>Hello</div></div></div>';
My env:
IntelliJ IDEA 2018.1 (Ultimate Edition)
Build #IU-181.4203.400, built on March 19, 2018
JRE: 1.8.0_152-release-1136-b20 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.3
The behavior now:
But after change the settings of html: "Editor > Color Scheme > HTML"
Disable the "Foreground" & "Background" & "Inherit values from".
The plugin works as expected:
The problem may be because the color been covered by intellij build-in functionality. So how can I avoid that happened, thanks a lot!
Please sign in to leave a comment.
PS: I'm setting `textAttributes` like this:
It is there anyone could help me? thanks.