Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » ATF » Static JS Classes not in the Outline view
Static JS Classes not in the Outline view [message #490873] Mon, 12 October 2009 06:50 Go to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hello All,

I have a JS file which contains few static classes as well as non static ones.But the static classes are not shown in the outline view.Is it the limitation with the JSTD?.
Please provide your inputs here.

Thanks and Regards,
Saurav


Re: Static JS Classes not in the Outline view [message #490888 is a reply to message #490873] Mon, 12 October 2009 09:23 Go to previous messageGo to next message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
hi Saurav,
the best place to ask this question is WTP newsgroup (JSDT is part of
WTP). I have added it in the To field.

saurav wrote:
> Hello All,
>
> I have a JS file which contains few static classes as well as non
> static ones.But the static classes are not shown in the outline
> view.Is it the limitation with the JSTD?.
> Please provide your inputs here.
>
> Thanks and Regards,
> Saurav
Re: Static JS Classes not in the Outline view [message #491018 is a reply to message #490888] Mon, 12 October 2009 19:37 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2342
Registered: July 2009
Senior Member
Jacek Pospychala wrote:
> hi Saurav,
> the best place to ask this question is WTP newsgroup (JSDT is part of
> WTP). I have added it in the To field.
>
> saurav wrote:
>> Hello All,
>>
>> I have a JS file which contains few static classes as well as non
>> static ones.But the static classes are not shown in the outline
>> view.Is it the limitation with the JSTD?.
>> Please provide your inputs here.

Which version are you using, and do you have an example?

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Static JS Classes not in the Outline view [message #491186 is a reply to message #490873] Tue, 13 October 2009 15:06 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi Nitin,

Please find the details below and the code snippet below.

Eclipse

Version: 3.4.2
Build id: M20090211-1700

JSDT core plug-in : 1.0.014


test.ui.saurav = function () {
	
};

test.ui.saurav.prototype.object = function() {
	var height=20;
}



if you press ctrl-o on the above code outline shows the classes.But try with the below code


test.ui.saurav = function () {
	
};

test.ui.saurav.object = function() {
	var height=20;
}



Outline shows nothinh since the class is a static one.
Please let me know if i am missing something and provide your inputs here.

Thanks and Regards,
Saurav


[Updated on: Tue, 13 October 2009 15:06]

Report message to a moderator

Re: Static JS Classes not in the Outline view [message #561707 is a reply to message #490888] Mon, 12 October 2009 19:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2342
Registered: July 2009
Senior Member
Jacek Pospychala wrote:
> hi Saurav,
> the best place to ask this question is WTP newsgroup (JSDT is part of
> WTP). I have added it in the To field.
>
> saurav wrote:
>> Hello All,
>>
>> I have a JS file which contains few static classes as well as non
>> static ones.But the static classes are not shown in the outline
>> view.Is it the limitation with the JSTD?.
>> Please provide your inputs here.

Which version are you using, and do you have an example?

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:ATF documentation
Next Topic:Static JS Classes not in the Outline view
Goto Forum:
  


Current Time: Sat Dec 20 22:27:44 GMT 2014

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

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