Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342063

Summary: No content assist for annotation elements in specific situation (described)
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: GeneralAssignee: Paul Fullbright <paul.fullbright>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: neil.hauge
Version: 3.0   
Target Milestone: Future   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 378405    
Bug Blocks:    

Description Paul Fullbright CLA 2011-04-06 14:29:59 EDT
When in this particular situation:

@XmlAttribute(namespace =<space><cursor><comma> name = "foo")

(looks like:  @XmlAttribute(namespace = |, name = "foo") )

no content assist is triggered for the namespace element.  It's very important (apparently) that the character sequence is <space><cursor><comma>.  Content assist works for the following situations:

@XmlAttribute(namespace=<cursor>, name = "foo")
@XmlAttribute(namespace =<cursor>, name = "foo")
@XmlAttribute(namespace = <cursor> name = "foo")
@XmlAttribute(namespace=<cursor>name = "foo")

although it can be flaky.
Comment 1 Neil Hauge CLA 2011-05-02 13:36:29 EDT
I assume this will be fixed at the JDT level?
Comment 2 Neil Hauge CLA 2011-10-07 12:51:49 EDT
Targeting to Juno release.