Type of highlighted expression

Would it be possible to show the type of a highlighted Scala expression in the editor? For example, if I highlighted Some(2) map  (_.toString) and held down the correct chord, it would pop up a bubble  with Option[String].

Something like the existing Scala setting Show type info on mouse motion with delay or enhancing the functionality of this setting would be another means.

I'll be glad to add an issue if this is useful and possible.

1 comment
Comment actions Permalink

This is already possible. Use action "Type Info" (use "Go to action" action). On Mac shortcat is Ctrl+Shift+P.

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.