I came across the colour icon for "Marker annotati...
# intellij
r
I came across the colour icon for "Marker annotation for DSL" but I do not really get what the colours do. I can change them as I want and nothing happens 🙂 Where do they show their effects?
o
They should be visible at places where you use the DSL
r
That's what I thought but it does not seem to change anything. Is a restart required?
also, the example code given in the lower of the color scheme dialog does not change anything
Copy code
@Marker
class A<T> { fun bar(t: T) {} }
fun <T> A<T>.foo(a: A<T>.() -> Unit) {}

fun test() {
    A<Int>().foo {
        A<Float>().foo { 
            bar(1.2f)
        }
        foo { bar(1) }
    }
}
where should the colours apply?
or do I get something entirely wrong? 🙂
o
May be a bug? Can’t check it now myself, but can you try kotlinx.html DSL?
@pavel.talanov ^^
r
I have a project where I use kotlinx.html I see no effects there neither
o
What are versions of IJ and Kotlin you’re using?
r
intellij 2018.1.2 Kotlin 12.41
o
I think you might need to file a bug report. It works on my machine 😞