How do I view the type of a scala expression in IntelliJ

前端 未结 10 1062

The Eclipse scala plugin has a nice feature which shows you the type of a variable when you hover the mouse over it. How do I see the same information with the IntelliJ plu

10条回答
  •  醉话见心
    2020-12-07 12:40

    For OS X, use ctrl + J on a variable, function or signature to get full definition, type, and parameters. Use ctrl + shift + P for evaluated type (this also works on highlighted code block or expression).

提交回复
热议问题