How to make Intellij show Eclipse like API documentation on mouse hover
One of the best feature of Eclipse is that you can learn while coding as it shows the documentation right in the editor by hovering over an API. I really missed that feature in Intellj. As I am new to this platform, may be there is a trick to get that feature that I am not aware of. I appreciate any tip regarding this.
Solution 1:
Simple docs will appear if you hold ctrl when you hover. To make proper docs appear just on hover (like eclipse) in IntelliJ v14.0:
File > Settings... > Editor > General > [Other]
Then at the very bottom there is an option: "Show quick documentation on mouse move":
The docs will now appear on hover:
Solution 2:
You can edit the idea.properties
found in the bin
folder of IntelliJ application and add this line:
auto.show.quick.doc=true
This will give you the JavaDoc when hovering over a variable: