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

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

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 plugin?

ベストアンサー1

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.

おすすめ記事