I just switched from Eclipse to IntelliJ and lack one feature from Eclipse - when you put your mouse over a method it shows a javadoc info. I found out (may be I'm wrong) the way to show is a shortcut command + J
. When I click it I get something wrong, please see on the screen shot below. Please advice how can I quickly get javadoc information. I need at least know what type a method returns.
1. Use View
| Quick Documentation or the corresponding keyboard shortcut (by default: Ctrl+Qon Windows/Linux and Ctrl+J on Mac). See the documentation for more information.
2. It's also possible to enable automatic JavaDoc popup on explicit (invoked by a shortcut) code completion in Preferences
| Editor
| General
| Code completion
(Autopopup documentation):
原文链接:https://stackoverflow.com/questions/11053144/how-to-see-javadoc-in-intellij-idea