>>Off the top of my head, I don't know a way to get a list of declared variables for the current code listing. Do you?
>
>You can look at any LOCAL statements for a start.
>
>While we're talking about it. Two things I'd like to see in IntelliSense are that typing:
>
>"LOCAL loWord AS word.application
>loWord ="
>
>should automatically autocomplete (or list or whatever it is) the " NEWOBJECT('word.application')" part. Makes sense, what else are you gonna set it to?
Good suggestion. Except every time you do a variable assignment, Intellisense would pause while it parsed the entire current document looking for LOCAL statements. Would be fine if it worked fast...
>Also, when you do a "DODEFAULT(" is should popup with the list of parameters for the current method, because typically you want to pass all the parameters back up to the parent method, or at least some variation of them.
Man, I swear I heard some Softie say that this was in there. But I guess its not.
Erik Moore
Clientelligence