design question: why when you mark with a `@DslMar...
# getting-started
e
design question: why when you mark with a
@DslMarker
annotation class a method, this gets displayed as yellow? Is this because we want to explicitly show to the user that this is a DSL method?
c
What gets marked as yellow? If you mean the annotation you created, that's just how IDEA renders annotations (all of them). You can change the color in Settings › Editor › Color Style (I don't remember the exact place, but I guarantee it's somewhere in there)
e
Copy code
@KygeMarker
fun schedule(block: Cron.() -> Unit)
Otherwise, without
KygeMarker
defined as
Copy code
@DslMarker
annotation class KygeMarker
c
Oh, it it new? I've never noticed that
e
no idea
do you have it as well?
@Alexey Belkov [JB] since you are responsible for the intellij channel, do you happen to know anything about this? Ps: sorry if I quoted you directly but I didn't want to double post in #intellij
a
Presumably it is to highlight that this is a special DSL method. See "File | Settings | Editor | Color Scheme | Kotlin | Dsl"