You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement request related to a problem? Please describe.
It can be hard differentiate a standard type (e.g., interface/class) and a generic type parameter.
class Container<Element> {
...
// lots of stuff
...
fun foo(e: Element) { // looking only here it is not clear that Element is a generic type parameter
...
}
...
}
Describe the solution you'd like
Give generic type parameters a distinct color from interfaces/classes.
Additional context
IntelliJ does this by default.
Java/Kotlin programmers conventionally use single-letter parameter names for generics. This is evidence that it is important to distingush them from interfaces/classes.
If syntax highlighting can help with this differentiation, then there is less motivation to purposely use bad parameter names like E.
The text was updated successfully, but these errors were encountered:
Is your enhancement request related to a problem? Please describe.
It can be hard differentiate a standard type (e.g., interface/class) and a generic type parameter.
Describe the solution you'd like
Give generic type parameters a distinct color from interfaces/classes.
Additional context
E
.The text was updated successfully, but these errors were encountered: