Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362328 - [xtend][contentassist] Missing proposals in closure body
Summary: [xtend][contentassist] Missing proposals in closure body
Status: CLOSED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: RC3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 11:41 EDT by Sebastian Zarnekow CLA
Modified: 2017-10-31 11:26 EDT (History)
1 user (show)

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2011-10-28 11:41:00 EDT
def doStuff(List<String> it) {
  map[<cursor>]
}

Only class names are proposed at the cursor position. I'd expect toUpperCase and the like.

def doStuff(List<String> it) {
  sortBy [length].map[ it.<cursor> ]
}

Only members of Object are proposed here.

Works fine for

def doStuff(List<String> it) {
  sortBy [length].map[ it.tUC<cursor> ]
}
Comment 1 Sebastian Zarnekow CLA 2012-05-29 13:05:22 EDT
Pushed to master.
Comment 2 Eclipse Webmaster CLA 2017-10-31 11:26:31 EDT
Requested via bug 522520.

-M.