Code completion: variable asignement

Code completion is great but could be imporved.
The follwing code works but not the code completion.

var f = forms.hugeListing;
f.controller.show();

For example if I try to write ```
f.


forms.


Hope that you'll iron out these little inconviences.

this is a bit of a problem to complete in javascript because variables are not strongly typed.

for example this is a script:

var f = forms.hugeListing;
f.
f = new Date();
f.
f = ‘this is a test’;
f.

if i press control+space at the first time f. is used it should popup something completely different then the second time and the third time it is again totally different.
So to complete variable names we have to complete parse the javacode, sort of run it already! to get the real live object at the time you press control+space in youre code.

You are right, what I’m asking is a lot more complex than I thought.
I guess that you should do other more important things (users on LDAP:-) before that.

Doing the stuff would mean that the program constinously checks for the validity of the code. For example if the solution is composed of only one form (form1) and I write:

var f = forms.form1;

and then go back and modify the code like this:

var f = forms.form12;

The editor would tell me by underlying in red “form12” that this form does not exists.

But I understand that all this stuff can be complex to do and for the time being I prefer to get more features and streamlined performance.

Thanks for you answer.
Keep on the great work.