Scala Plugin
Scala Plugin for IntelliJ IDEA and Android Studio
News
Highlighting of arguments to by-name parameters
In Scala it’s not always obvious when some expression is an argument to a by-name parameter. New highlighting helps to easily spot such expression.
You may also gray-out literals if you wish (disabled by default):
Block expressions are supposed to be called by-name, so, by default, there’s no such highlighting for them:
The highlighting also works with implicit conversions that use by-name parameter:
Here’s the definition of implicit conversion: