show type of an expression/variable

i like inferred types and prefer not to explicitly write them down to make it easier to change the return type of some method. but at some point, i'd like to push a button/hotkey and let idea tell me which type i actually have here. currently, i do this via select, then introduce variable, and idea tells me the type. is there a better way? alt/ctrl+mouseover didn't work

2 comments

works, but it's not what i'd like... a hotkey that temporarily and magically inserts ":type" behind every declaration would be nice.

0

Please sign in to leave a comment.