Bug 215975 - new field declaration CompletionProposal cuts changes initial prefix
Summary: new field declaration CompletionProposal cuts changes initial prefix
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-21 07:20 EST by Dani Megert CLA
Modified: 2008-04-29 04:59 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix (13.43 KB, patch)
2008-04-02 10:09 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2008-01-21 07:20:34 EST
3.3 and I20080115-0800.

1. Import  org.w3c.dom.Element
2. Type Element service<code assist>
==> Element servicElement
Expected: Element serviceElement
Comment 1 David Audel CLA 2008-04-02 10:09:28 EDT
Created attachment 94544 [details]
Proposed fix

With this fix you will have the following results:

Element service<code assist>
 ==> Element serviceElement

Element servicE<code assist>
 ==> Element servicElement

Element mye<code assist>
 ==> Element myeElement

Element myE<code assist>
 ==> Element myElement
Comment 2 David Audel CLA 2008-04-02 10:12:58 EDT
Released for 3.4M7.

Tests updated
  CompletionTests#testCompletionVariableName5()
  CompletionTests#testCompletionVariableName6()
  CompletionTests#testCompletionVariableName9()
  CompletionTests#testCompletionVariableName14()

Tests added
  CompletionTests#testCompletionVariableName5_2()
  CompletionTests#testCompletionVariableName6_2()
  CompletionTests#testCompletionVariableName9_2()
  CompletionTests#testCompletionVariableName14_2()
Comment 3 Eric Jodet CLA 2008-04-29 04:59:05 EDT
Verified for 3.4M7 using I20080427-2000.