score:935

Accepted answer

for intellij 13, there is a checkbox in editor's page in ide settings

enter image description here

edit: for intellij 14, the option has been moved to editor > general page. it's the last option in the "other" group. (for mac the option is under the menu "intellij idea" > "preferences").

edit: for intellij 16, it's the second-to-last option in editor > general > other.

edit: for intellij ultimate 2016.1, it's been moved to editor > general > code completion. enter image description here

edit: for intellij ultimate 2017.2, aka intellij idea 2017.2.3, there are actually two options:

  1. in editor > general > other (section) > show quick documentation on mouse move - delay 500 ms
  • select this check box to show quick documentation for the symbol at caret. the quick documentation pop-up window appears after the specified delay.
  1. in editor > general > code completion (sub-item) > autopopup documention in 1000 ms, for explicitly invoked completion
  • select this check box to have intellij idea automatically show a pop-up window with the documentation for the class, method, or field currently highlighted in the lookup list. if this check box is not selected, use ctrl+q to show quick documentation for the element at caret.
  • quick documentation window will automatically pop up with the specified delay in those cases only, when code completion has been invoked explicitly. for the automatic code completion list, documentation window will only show up on pressing ctrl+q.

edit: for intellij ultimate 2020.3, the first option is now located under editor > code editing > quick documentation > show quick documentation on mouse move

score:-1

the answer is ctrl + p (not ctrl + q)

someone else posted this answer on jetbrains forum: the idea is a different ide. try to discover its features and try to make the best of it, rather than trying to emulate whatever you used before. for the most part, idea has very high usability (much better than eclipse imho) and is streamlined for supporting code editing as best as possible (rather than relying on wizards too much for example).

  • javadoc: ctrl-q
  • a quick view of the implementation: ctrl-shift-i
  • show context: alt-q
  • show parameters (in a method call): ctrl-p
  • show error description. ctrl-f1

... plus many more shortcuts to navigate in code and different idea views.

i think it rather nice that you can see just the specific bit of information you are interested in with a simple keystroke. have a look at the menus which will also show the possibly modified shortcuts for your keymap.

0 avatar jens voß created june 12, 2008, 09:26 and, elsandros, in addition to what stephen writes: since you seem to be interested in idea's keyboard shortcuts, i highly recommend the "key promoter" plugin which helps you memorize the relevant shortcuts quickly.

also very useful is the "goto action" feature, invoked by ctrl-shift-a. in the popup, you can enter a keyword (e.g. "javadoc"), and the ide tells you the available actions matching your search, along with keyboard shortcuts and the containing action groups (which often also give you a clue about how to navigate to the action using the menu).

score:0

on my intellij u on mac i need to point with cursor on some method, variable etc. and press [cntrl] or [cmd] key. then click on the link inside popup window which appeared to see javadocs

score:0

all of the above methods are useful but one basic thing missing you need to have src.zip in your jdk (c:\program files\java\jdk1.8.0_171). i assumed it comes preinstalled but for some reason, it was not present in my installation. another thing to check is if your project is using the specified (1.8.0_171 in this case) jdk.

score:1

idea has "find action":

open "help" menu, type "doc", move cursor to "quick documentation" it will be highlighted.

also "find action" can be called from hot key (you can find it in settings->hotkeys)

score:1

on mac in intellij ultimate (trial) 14 i have mine under settings > editor > general > code completion. the tooltip short is f1 on my laptop.

it's called "autopopup documentation in (ms):"

enter image description here

score:1

a note for android studio (2.3.3 at least) users, because this page came up for my google search "android studio hover javadoc", and android studio is based on intellij:

see file->settings->editor->general: "show quick documentation on mouse moves", rather than file->settings->editor->general->code completion "autopopup documentation in (ms) for explicitly invoked completion" and "autopopup in (ms)", which has been previously talked about.

score:1

i tried many ways mentioned here, especially the preference - editor - general - code completion - show documentation popup in.. isn't working in version 2019.2.2

finally, i am just using f1 while caret is on the type/method and it displays the documentation nicely. this is not ideal but helpful.

score:1

in 2020.1 there is in editor javadocs rendering has been added. screen shots borrowed from intellij documentation.

enter image description here

enter image description here enter image description here

enter image description here

score:2

file-->settings-->editor

check "show quick doc on mouse"

now when you put the mouse over a method a tooltip with the documentation will appear. sometimes the tooltip size is too small and you will have to resize it moving the mouse down to the bottom of the tooltip.

score:3

in intellij idea 14, it has moved to: file -> settings -> editor -> general -> "show quick doc on mouse move"

score:3

in intellij 2019, i did: file > settings > editor > general option show quick documentation on mouse move.

score:7

from intellij ultimate 2018.1.5, aka intellij idea 2018.1.5, till 2019.3 , there are actually two options under file -> preferences:

  1. in editor > general > other (section) > show quick documentation on mouse move - delay 500 ms
    • select this check box to show quick documentation for the symbol at caret. the quick documentation pop-up window appears after the specified delay.
  2. in editor > general > code completion (sub-item) > auto-display documentation in 1000 ms
    • select this check box to have intellij idea automatically show a pop-up window with the documentation for the class, method, or field currently highlighted in the lookup list. if this check box is not selected, use ctrl+q to show quick documentation for the element at caret.
    • quick documentation window will automatically pop up with the specified delay in those cases only, when code completion has been invoked explicitly. for the automatic code completion list, documentation window will only show up on pressing ctrl+q.

score:8

the easiest way, at least for me, was:

  • ctrl+shift+a
  • type: show document
  • show quick documentation on mouse move (set it to on)

score:9

adding on to what adnow said. on the macintosh:

  1. right click on intellij idea 12
  2. click on the show package contents menu option
  3. open the bin folder
  4. open idea.properties
  5. add the line:

    auto.show.quick.doc=true

score:14

intellij idea 14.0.3 ultimate:

press ctrl+alt+s, then choose editor\general choose show quick domentation on mouse move

enter image description here

tips: look at the top right conner (gear icon) at javadoc pop-up window, you can choose:
- show toolbar
- pinded mode
- docked mode
- floatting mode
- split mode

enter image description here

score:24

in intellij13, you can use editor configuration like below: enter image description here

score:25

for intellij 15, use the checkbox in file > settings > editor > general option show quick documentation on mouse move.

enter image description here

you can also get there by typing "quick" or something similar in the search box:

enter image description here

score:28

after doing ctrl+q, you can

  1. pin the tooltip (top right corner)
  2. check docked mode (under gear in top right after pinning)
  3. size as desired
  4. click icon for auto show documentation for selected item

then when you move your cursor, the documentation will appear in this box. it costs you a little screen real estate, but i find it's worth it.

i'd post a screenshot but so won't let me post images.

score:100

it is possible in 12.1.

find idea.properties in the bin folder inside of wherever your ide is installed, e.g. c:\program files (x86)\jetbrains\intellij\bin

add a new line to the end of that file:

auto.show.quick.doc=true

start idea and just hover your mouse over something:

enter image description here

score:147

up until intellij version 11, no, not just by hovering over it. if the cursor is inside the method- or attribute name, then ctrl+q will show the javadoc on *nix and windows. on macosx, this is ctrl+j.

quote: "no, the only way to see the full javadoc is to use quick doc (ctrl-q)." -- http://devnet.jetbrains.net/thread/121174

edit

since intellij 12.1, this is possible. see @adnow's answer.


Related Query

More Query from same tag