Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off the Javadoc hover in Eclipse (or selectively enable it)?

A fellow developer dislikes the Eclipse hovering Javadoc and would like to disable it (one option), or, better yet, only selectively enable it (other option). He's using Eclipse 3.3. Is this possible?

like image 364
MetroidFan2002 Avatar asked Oct 08 '09 19:10

MetroidFan2002


People also ask

How do I enable tooltip in eclipse?

When hovering, press F2 for the Hover tooltip to come into focus. This ensures that it is displayed even when not hovering and enables you to select the text from within it.

How do I show Javadoc in Eclipse?

To see the javadoc of a class having attached source in eclipse: select Window -> show view -> javadoc (or alt + shift + q, j). then in the javadoc view, right click -> open attached javadoc (or shift + F2), this will display the javadoc of the class in the internal browser of eclipse.

Why Hover is not working in Eclipse?

Go to Window - Preferences - Java - Editor - Hovers. Is "Combined Hover" selected? Uncheck it; apply; close the window; restart debugging session; go back; check it again; apply. If the above doesn't help, you can check "Variable Values" option and specify a modifier key for it.


1 Answers

Not sure what you mean by "selectively" enabling it. Based on what?

Directions below are for 3.5, I don't have 3.3 lying around to check but I'm pretty sure same settings were available.

Go to Window - Preferences; select Java -> Editor -> Hovers on left hand side. You'll have to uncheck the Combined Hover option on the right; you can then either uncheck Javadoc option or check it but specify a modifier key for it (in the edit box below). In the latter case javadoc hover would only appear if you hold that key.

I've got to say, though, that the inconvenience of not having Combined Handler makes this really not worth it in my opinion.

like image 164
ChssPly76 Avatar answered Sep 24 '22 21:09

ChssPly76