Summary: | [assist] Content assist fails when there's a dot ('.') after type name | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brock Janiczak <brockj> | ||||||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | philippe_mulet | ||||||||
Version: | 3.1 | ||||||||||
Target Milestone: | 3.2 RC2 | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Brock Janiczak
2005-01-25 23:44:54 EST
Can reproduce. Code assist is currently not fully implemented in Javadoc. In fact: 1) Javadoc does not implement code assist at all. It's done by jdt-text using a specific JavaDocCompletionEvaluator(as one can seen in stack trace...) 2) This AIOOBE is not specific to javadoc context, it also happens using following (minimal) test case: class Test { Str|. } Note that the final point in line is really important to reproduce the bug. i.e. code assist works properly on following test case: class Test { Str| } Created attachment 23224 [details]
Proposed patch
Created attachment 23227 [details]
Regression test
Created attachment 39016 [details]
Proposed fix
Philippe - Do you want this fix for 3.2RC2 ? +1 for 3.2RC2 Fix released and test added GenericsCompletionParserTest#test0211() Verified with I20060427-1600 for RC2. |