when I write scala code in idea, sometimes it will show the datatype like this:
but sometimes it will not show like, for example:
I want to know how it happened, can I force to make it happen?
For recent/current Intellij that should be: Alt
+ =
(click on what you want highlighted first)