This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Assume the following interface and implementation: public interface TheInterface{ /** * This method does nothing * @param arg1 the argument */ public void myMethod(String arg1, Long arg2); } public class TheImpl implements TheInterface{ /** * @see TheInterface# */ public void myMethod(final String arg1){ } } If the cursor in the javadoc of the implementation, directly after the # sign, I can hit ctrl-space to start autocompletion of the method name. This opens a list of the available methods. I select the correct one (myMethod) and the result is: * @see TheInterface#myMethod(java.lang.String) This is what I expect, the arguments are filled with the correct type and the implementation javadoc is considered correct (since the javadoc of the interface is correct). If instead I enter the first characters of the method to autocomplete, so that it is unambiguous and then start autocompletion, no list of available methods is displayed (since it is unambiguious), but the outcome is: * @see NewInterface#myMethod(null) where the parameter is selected to be overwritten by the user. This isn't helpful here, since I want to autocomplete the declaration, not the call to this method. There is no good reason why there are these two different behaviours on whether the method to autocomplete is ambiguous or not.
It looks like regular java completion wins instead of javadoc completion and inserts its item.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/848486ec4db8
Integrated into release701. http://hg.netbeans.org/releases/rev/fc7de8d6af83
Integrated into 'main-golden', will be available in build *201105270401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/848486ec4db8 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #198801 - Inconsistent behaviour of autocompleting @see tags in javadoc - fixed.