Tom*_*Tom 5 scala intellij-idea
Intellij Idea scala插件会自动以灰色显示该方法的返回类型,这在大多数情况下很烦人。
如何取消此功能
This feature has been added in IntelliJ IDEA 2018.1
The editor can now show inline hints for parameter names, method result types, and variable types. You can also easily use the settings to customize when such a hint should be shown.
You can disable it from Preference -> Editor -> General -> Appearance
Uncheck "Show function return type hints(Scala)"
Or simply right click on the type hints
And click on Function return type hints
Once you disable it, the former way is the only way to re-enable it.