Details :: Code completion
This thread was displayed: 174 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Johan Meijer
11-30-2006 23:37:48 GMT +2
|
When I create the following JS code:
function TextLog() {
this.divLog = document.createElement('div');
this.write = function(sText) {
this.
then I dont get an code completion list. But when I type:
function TextLog() {
this.divLog = document.createElement('div');
this.write = function(sText) {
TextLog.
Then I get a list with the standard functions for a JS Class but that has also not divLog in it.
If I type
TextLog.
outside the 'class', then I do get a correct code completion list.
However, if I create a variable within TextLog that is an array:
this.aTest = new Array();
and I type
this.aTest.
then I get a correct code completion list with functions of the Array object
In what way can I achieve that I get a code completion list with all functions and variables of the current class when I type
this.
?
Thanks in advance,
Johan Meijer
The Netherlands
JSEclipse version: 1.5.2.2
Eclipse version: 3.2.1 Build M20060921-0945
|
|
|
Remus STRATULAT[InterAKT Online]
12-08-2006 17:26:46 GMT +2
|
JSEclipse has some heuristic algorithms to try to find out what is a type of an object as JavaScript is a week typed language. Some time this algorithms can't figure out an object type and that is especially sensitive for this.
|
|
|