Behe
Behe

Reputation: 7940

Eclipse - force Javadoc hover on element that has a warning

I often look at the Javadoc hover that is shown when one hovers the mouse pointer over an element, as in this example for List.

enter image description here

However, when there is a warning present, the hover windows shows the warning instead as in this (fictional) example:

enter image description here

Imagine I could not fix the warning: Is there a shortcut to force to display the Javadoc hover instead of showing the warning?

Please note: I am aware of Shift + F2 - Display javadoc in external browser, I am explicitly asking about the the hover.

Upvotes: 7

Views: 454

Answers (1)

Duncan Jones
Duncan Jones

Reputation: 69329

By default, pressing Ctrl+Shift while hovering will show you the Javadoc, even if there is a warning:


screenshot


As owlstead states in the comments, this behaviour can be adjusted by looking in the preferences:

preferences screenshot

Upvotes: 7

Related Questions