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

Bug 336228

Summary: [code assist] Content assist does not work in specific case (array initializer in anonymous class method)
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Achristianson, daniel_megert, Olivier_Thomann
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patched StatusLine.java none

Description Markus Keller CLA 2011-02-03 09:00:52 EST
Created attachment 188229 [details]
patched StatusLine.java

M20110202-0800 and HEAD

- Check out org.eclipse.jface
- Apply patch from attachment 188191 [details] (from bug 129309), or use attached file
- In org.eclipse.jface.action.StatusLine line 301, set caret before 'text' in 'cp.setContents(new Object[] { text },...'
- type 'Leg', Ctrl+Space
=> Content Assist doesn't propose LegacyActionTools (nor anything else)
Comment 1 Dani Megert CLA 2012-12-04 02:22:50 EST
Bug 395604 has a simpler test case.

*** This bug has been marked as a duplicate of bug 395604 ***