holgerbrandl / r4intellij

An integration of the R programming language into Intellij IDEA
BSD 2-Clause "Simplified" License
148 stars 28 forks source link

Allow highlighting of argument names in a different color #228

Open rillig opened 5 years ago

rillig commented 5 years ago

I'd like to be able to see named function arguments in a different color, as in the following example:

print(list(one = 1), right=TRUE)

The word right should get its own category in the highlighting.

For example, in the Kotlin highlighting settings, this is called Named Argument. I was surprised that I didn't find this in the language defaults. Maybe JetBrains adds it.