Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JavaScript Outline types(JavaScript Outline not recognizing type for properties of an object)
JavaScript Outline types [message #716112] Tue, 16 August 2011 13:32 Go to next message
Arin Lipman is currently offline Arin LipmanFriend
Messages: 17
Registered: May 2010
Junior Member
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

Anyone else see this?
Thanks,
Arin
Re: JavaScript Outline types [message #716316 is a reply to message #716112] Wed, 17 August 2011 03:05 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 8/16/2011 9:32 AM, dread45153 wrote:
> 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
>
> Anyone else see this?

I can reproduce it. Looks like you've found a bug (or two). Can you
report this to
https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=WebTools&product=JSDT&component=General
?


--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: JavaScript Outline types [message #717881 is a reply to message #716316] Mon, 22 August 2011 15:57 Go to previous message
Arin Lipman is currently offline Arin LipmanFriend
Messages: 17
Registered: May 2010
Junior Member
I submitted Bug 355410
Previous Topic:Give selected Node to Property View
Next Topic:JavaScript Outline guidelines
Goto Forum:
  


Current Time: Tue Apr 16 22:46:38 GMT 2024

Powered by FUDForum. Page generated in 2.98092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top