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

Bug 355410

Summary: [misc] JavaScript Outline Types
Product: [WebTools] JSDT Reporter: Arin Lipman <dread45153>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Arin Lipman CLA 2011-08-22 11:56:26 EDT
I'm coding some JavaScript objects and I'm assigning properties to the objects, but the outline view is not recognizing the type of these objects.

Here is a sample (I've added in the JSDoc in the hope that this would help, but it does not appear to):

Test = function(/**@type String*/input)
{
/**
* @type String
*/
this.string = input;
return this;
};


In this outline, I see
Test
string:any


Created from Forum posting:
http://www.eclipse.org/forums/index.php?t=rview&goto=716316#msg_716316
Comment 1 Chris Jaun CLA 2013-06-17 14:48:37 EDT
In 3.5 the type of "string" is showing up as String.