Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » galileo - javascript outline does not display object members
galileo - javascript outline does not display object members [message #232681] Wed, 17 June 2009 18:47 Go to next message
Eclipse UserFriend
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 16:22 Go to previous message
Eclipse UserFriend
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
Previous Topic:EJB 2.1 support
Next Topic:Can I extend Tomcat and JBoss Launch Configurations?
Goto Forum:
  


Current Time: Wed Jul 23 08:04:14 EDT 2025

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

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

Back to the top