basin
basin

Reputation: 4190

How to view javadoc tooltip in Eclipse, if there's a warning marker on that line?

Raw javadoc markup is hard to read, but Eclipse has a handy ability to render the javadoc you just wrote in a tooltip. However, if there's a warning, it shows the warning tooltip. How to solve this?

enter image description here

Upvotes: 3

Views: 575

Answers (2)

gitness
gitness

Reputation: 112

I think the intended behavior is for you to solve the error before writing the javadoc any further. If you want to a quick way to get around it, you can attach the class javadoc by attaching the source in eclipse by:

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.

Upvotes: 1

Grunzwanzling
Grunzwanzling

Reputation: 443

You can do it by pressing [F2]

Upvotes: 0

Related Questions