No way to make that work right now. Can you open an enhancement request? Now that 3.2 is pretty much done, we're starting to think about what we should be working on next. So, its a good time to get enhancement ideas in.
Chris
Jacek Pospychała
<[email protected]
> To
Sent by: "General discussion of project-wide
wtp-dev-boun...@e or architectural issues."
clipse.org <[email protected]>
cc
06/17/2010 10:10 Subject
AM RE: [wtp-dev] [JSDT] any way to
copy one type to another?
Please respond to
"General
discussion of
project-wide or
architectural
issues."
<wtp-...@eclipse.
org>
I'd like to have both Type1 and Type2 display the same in Outline and
visible in content assist. Real world example could be jQuery, e.g.:
jQuery = function() {
}
jQuery.prototype.extend = function() {};
$ = jQuery;
So now jQuery has correct outline and content assist, whereas $ doesn't.
From: [email protected] [[email protected]] on behalf
of Christopher Jaun [[email protected]]
Sent: 17 June 2010 15:50
To: General discussion of project-wide or architectural issues.
Subject: Re: [wtp-dev] [JSDT] any way to copy one type to another?
Hi Jacek,
I don't think that works right now.
Can you explain what you mean by having JSDT understand them as the exact
same thing just so I'm clear? What is the use case?
Chris
Inactive hide details for Jacek Pospychała ---06/17/2010 09:35:29 AM---hi,
Jacek Pospychała ---06/17/2010 09:35:29 AM---hi,
Jacek
Pospychała
<jace...@zend
.com>
Sent by: To
wtp-dev-bounc
[email protected] "wtp-...@eclipse.
g org"
06/17/2010 <wtp-...@eclipse.
09:34 AM org>
cc
Please respond to
"General discussion of project-wide
or architectural issues." Subject
<[email protected]>
[wtp-dev] [JSDT]
any way to copy
one type to
another?
hi,
let's assume I have Type1 and Type2 which are the same:
/**
* @constructor
*/
Type1 = function() {
}
/**
* @memberOf Type1
*/
Type1.prototype.coolDynFunc = function() {
}
/**
* @magic
*/
Type2 = Type1;
is there a way to make JSDT understand this assignment and show Type1 and
Type2 as two exactly the same types?
thanks!
Jacek
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev
<<inline: graycol.gif>>
<<inline: pic29967.gif>>
<<inline: ecblank.gif>>
_______________________________________________ wtp-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/wtp-dev
