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

Bug 425935

Summary: [content assist] Hide function return types when they are ":undefined"
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-01-16 15:23:49 EST
When the content assist engine cannot determine the return type of a function (or the function does not return any value), it shows ":undefined". See screenshot for example.

It would be friendlier if the engine omitted ":undefined" return types when displaying the proposals, and just showed no return type.

So for
> someFunction(foo, bar):undefined
we would instead show
> someFunction(foo, bar)