Reference to Kotlin variables, function arguments, and named parameters are always colored
Closed this issue · 1 comments
Him188 commented
Describe the bug
References to function variables, function arguments, and named parameters are always colored.
fun Color(
red: Float,
green: Float,
blue: Float,
alpha: Float = 1f,
) {
println("red = $red") // `$red` is colored
}
fun main() {
Color(
red = 1, // `red` is colored
)
}
It does not make sense that the variables are colored.
Disabling 'Detect Color Properties' doesn't help.
To Reproduce
- Create a Kotlin project
- Paste the above code
- References are colored
Expected Behavior
References are not colored.
Environment
- Plugin version: 14.0.0
- IDEA: Build #IU-223.8214.52, built on December 20, 2022
Screenshots
mallowigi commented
I don't have the time to improve this project. If you wish to help, be my guest.