Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » galileo - javascript outline does not display object members
galileo - javascript outline does not display object members [message #232681] Wed, 17 June 2009 22:47 Go to next message
Michael Giroux is currently offline Michael Giroux
Messages: 78
Registered: July 2009
Location: Phoenix, AZ
Member
My javascript libraries are implemented as function members of a global
object. This is intended to reduce/eliminate collisions in the global
namespace.

ex.

var mylib = {

dosomething : function() { ... },

dosomethingelse : function() { ... },

isInitialized : false

}

When this .js file is opened in the javascript editor, the only entry in
the outline is the 'mylib'.

I've checked javascript configuration options and do not see anything that
causes the object members to be displayed in the outline.

Am I missing something?

If this is as coded, has there been a feature request submitted on this?

Michael
Re: galileo - javascript outline does not display object members [message #232765 is a reply to message #232681] Fri, 19 June 2009 20:22 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Michael Giroux wrote:
> My javascript libraries are implemented as function members of a global
> object. This is intended to reduce/eliminate collisions in the global
> namespace.
>
> ex.
>
> var mylib = {
>
> dosomething : function() { ... },
>
> dosomethingelse : function() { ... },
>
> isInitialized : false
>
> }
>
> When this .js file is opened in the javascript editor, the only entry in
> the outline is the 'mylib'.
>
> I've checked javascript configuration options and do not see anything
> that causes the object members to be displayed in the outline.
>
> Am I missing something?
>
> If this is as coded, has there been a feature request submitted on this?

Please open a feature request for this.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20So urce%20Editing&component=wst.jsdt

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:EJB 2.1 support
Next Topic:Can I extend Tomcat and JBoss Launch Configurations?
Goto Forum:
  


Current Time: Wed Oct 22 23:20:41 GMT 2014

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

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