Community
Participate
Working Groups
Using I20051116-1332. Consider following test case: /** * I complete in an already existing sentence ended by a point: * Str. */ class X { } I complete after Str and does not get any proposal. Although I got several if '.' is not there... It should behave the same and offer me same proposal even with the final dot.
Another test case: Reference.java public class Reference { public static int A_STATIC_FIELD = 0; } Test.java /** * Completion inside reference Reference#A_STATIC_FIELD. */ public class Test { public void foo() {} } Try to complete wherever inside A_STATIC_FIELD gives no proposal!
There were 2 problems in CompletionJavadocParser: 1) at cursor location, it should not care whether member reference is followed by a white space or not, 2) it should not parse '.' as qualification spearator when cursor location is before this dot. Fixed and released in HEAD. Test case added in JavadocBugsCompletionModelTest
Verified for 3.2 M4 using build I20051213-0010. Note that proposal from comment 1 is not inserted. Entered bug 120568.