Question

In Eclipse, if you place the cursor on any variable, a small popup box will appear containing the type (class) of this variable, how can I have the same in IntelliJ?

Était-ce utile?

La solution

By placing cursor on a variable and hitting Ctrl-Q you'll find all the documentation regarding this variable, including type.

Autres conseils

For IntelliJ 15, the "Quick Definition" option worked for me. On Macs pressing Command-Y is exactly what I was looking for.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top