Search code examples
intellij-idea

IntelliJ IDEA - Show method help/description


I was wondering if there is a way to see the description/help of a method on the list of suggestions like in Eclipse. And going to the class and looking up the help manually isn't an option.

Example in Eclipse:

enter image description here


Solution

  • If you select an item in the suggestion list and want to see its documentation, press Ctrl+Q (Q = quick information) or Alt+Button3 Click. The popup will be updated automatically if you select another item in the list.

    Quick info

    Similar you can press Ctrl+Shift+I to see its quick definition, that is its code. Very handy.

    For that to work, add the path to the JavaDoc in the project settings. Here I have set it to the online Java 7 documentation:

    Doc path