Bug 168984 - javascript editor unhelpful with member functions
Summary: javascript editor unhelpful with member functions
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Webtools.WST.Javascript (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Williams CLA
QA Contact: Larry Dunnell CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-12-23 15:14 EST by benson margulies CLA
Modified: 2010-03-03 11:35 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benson margulies CLA 2006-12-23 15:14:24 EST
Build ID: Build id: M20060921-0945

Steps To Reproduce:
The javascript editor and outline view are not informative with the following pattern of object-oriented javascript.


function BTRNMName() {
	this._data = 0;
	this._entityType = 0;
	this._entityUID = 0;
	this._extra = 0;
	this._language = 0;
	this._primary = 0;
	this._script = 0;
	this._transliterations = [];
	this._uid = 0;
}
BTRNMName.prototype.getData = function(){ return this._data; }
BTRNMName.prototype.setData = function(val){ this._data = val; }

More information:
Comment 1 David Williams CLA 2007-01-06 01:09:18 EST
Yes, unfortunately we do not (and never intended to) support OO Javascript. 

It would be great to do so, but unfortunately we have no people to do so and no plans to. I'll count this as an enhancement request instead of a bug per se. 
Comment 2 Robin CLA 2007-02-22 02:30:41 EST
It should support ECMAScript syntax. So it's definitely a bug and not an enhancement.
Comment 3 Nitin Dahyabhai CLA 2007-09-13 04:30:24 EDT
Setting aside the severity debate, we just don't have people to work on this now.  We would accept high quality patches, though.
Comment 4 David Williams CLA 2007-12-17 01:59:19 EST
I'm doing a mass resolve of all open bugs in the wst.javascript component. 
Resolving to "won't fix". 

The reason is that the old wst.javascript component is being removed this release, and replaced by the wst.jsdt component. 

So ... if any owners of these wst.javascript bugs see the same problem in the wst.jsdt code, then please open a new bug on that component. 

Apologies we can't check each ourselves, but there's just too many (and too few people) so we'll need community help. Just glancing, I know for sure many will no longer be bugs but some may still be legitimate requests even in the new JSDT code.