2

By checking How to see JavaDoc in IntelliJ IDEA?, I can enable JavaDoc popup whenever I hover a mouse on an java type.

However, there are several problems about the popup window: 1) It can not disappear when I move over my mouse. 2) It has a fixed window size instead of adjusting itself automatically based on the content.

In Eclipse, there are no such problems. Is there any solution ?

Thanks in advance!

Community
  • 1
  • 1
user1040933
  • 277
  • 5
  • 14
  • The size isn't fixed. Yes, it isn't automatic, but websites aren't either. You can however resize it by dragging the borders. – Obicere Apr 10 '15 at 03:40
  • So...did you read the answer? It's entirely explained in there; you can use the Quick Documentation shortcut to get what you're after. – Makoto Apr 10 '15 at 03:42
  • I'm sorry, but I still can not get the answer after I re-read the link. In Eclipse, whenever my mouse hover over a method definition, it will popup the javadoc automatically; when my mouse mover to other place and I click, the popup window will disappear. However, in IDEA, I have to explicitly close the popup window. BTW, I'm just talking about mouse, not keyboard shortcut. – user1040933 Apr 10 '15 at 04:10
  • 1
    Another issue is that: the popup window's location is fixed when I switch from one method to another. However, in Eclipse, the popup window's location can be placed under the target method automatically. – user1040933 Apr 10 '15 at 04:13

1 Answers1

0

The closest to Eclipse will be Ctrl+Button2 Click (Scroll click)

Hope JetBrains add that feature Eclipse-like soon.

r1ckr
  • 5,643
  • 5
  • 20
  • 24