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

前端 未结 10 1025

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:42

    Select expression and type Alt + =.


    If you want to change the shortcut go to Preferences > Keymap and enter "Type Info" in the search field.

    In older versions, it's Shift + Ctrl + Alt + T.

提交回复
热议问题