Summary: | DBCS3.6: Fail to propose Ext-B labels with content assist in Java Editor | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Masaihko Maedera <maedera> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | camle, daniel_megert, kitlo, Olivier_Thomann, pwebster, srikanth_sankaran | ||||||
Version: | 3.6 | ||||||||
Target Milestone: | 3.6 M7 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Masaihko Maedera
2010-03-30 03:56:38 EDT
Could you please attach a sample file and mention the encoding you used to save the file. Thanks. Created attachment 163374 [details] Bug307486.java (import this with UTF-8 encoding) I attached a sample code. The LABEL_REF proposal from JDT Core is wrong. Ayush, please investigate. Ayush, this is similar to the problem I fixed today with codeSelect(..) and surrogates characters. I'll take care of this. The CompletionScanner doesn't support surrogate characters at the starting position of an identifier. The fix is trivial. Created attachment 164120 [details]
Proposed fix + regression test
Released for 3.6M7. Added regression test in: org.eclipse.jdt.core.tests.model.CompletionTests_1_5#testLabel Verified in N20100408-2000. I also verified this bug is fixed in I20100426-0852 as the reporter. |