Summary: | [javadoc][assist] No completion in text when cursor location is followed by a '.' | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | 3.2 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Frederic Fusier
2005-11-19 08:44:48 EST
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. |