Community
Participate
Working Groups
Javadoc warnings for bad syntax and references for @see and {@link } tags would kick booty. Right now, I have to run my Ant or Maven scripts to get to see these. Thanks, eclipse rules. Version 3.0.m5.
@see references are already supported. Nested tags are not yet: {@link}.
I stand corrected on the @see part, there /is/ a yellow underline squigly under plarts of my @see lines but there is no warning icon in the left hand vertical bar.
Have you saved and built your class? Left warning/error icon only appears when build is performed. This is the same behavior than for warning/error displayed in Problems view...
see also bug 45782
You are correct once more. I had not saved the file, only edited it. Once saved, the warning icon appears as expected. This leaves the {@link} (and {@linkplain}) business.
Fixed. Main change is in jdt.internal.compiler.parser.JavadocParser.checkDeprecation (int,int). When javadoc option is activated we scan all comment characters instead of just looking at beginning of line. When {@link} or {@linplain} is encountered in the line then it's parsed same as a see tag. {@inheritDoc} tag are also parsed (see bug 45782). New error message jdt.core.compiler.IProblem.JavadocInvalidTag has been added to display specific error when following invalid syntax is written: * An line in javadoc comment {@link String {@link Object}} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Javadoc: Invalid tag Test cases added in jdt.core.tests.compiler.regression.JavadocTestMixed.
*** Bug 43715 has been marked as a duplicate of this bug. ***
Verified for 3.0M7