galileo - javascript outline does not display object members [message #232681] |
Wed, 17 June 2009 18:47  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07604 seconds