From: Thomas Steinbach on
Hello,

Is there an IDE which hast something like code-completition?
eg. If I type

Set objShell = CreateObject("Shell.Application")

and then:

objShell. (point)

then all the possible values/methods,props, etc. will be schown?

Does anybody knows such an IDE? The VB Express 2k8 doesn't
work with VB Scripts.


Thomas

From: Pegasus [MVP] on
"Thomas Steinbach" <steinbach(a)gmx-topmail.de> said this in news item
news:hi2d8h$j8s$01$1(a)news.t-online.com...
> Hello,
>
> Is there an IDE which hast something like code-completition?
> eg. If I type
>
> Set objShell = CreateObject("Shell.Application")
>
> and then:
>
> objShell. (point)
>
> then all the possible values/methods,props, etc. will be schown?
>
> Does anybody knows such an IDE? The VB Express 2k8 doesn't
> work with VB Scripts.
>
>
> Thomas
>

See the reply/replies received in the German scripting newsgroup and have a
look here about the merits of cross-posting vs. multiposting:
http://www.blakjak.demon.co.uk/mul_crss.htm. If you're concerned aboiut the
language, crosspost a dual-language version in both newsgroups. When you
multipost then you often cause duplication of effort.

From: mr_unreliable on
Thomas Steinbach wrote:
> Is there an IDE which hast something like code-completition?
> eg. If I type
>

If you have an unlimited budget, take a look at PrimalScript.

If not, then you could debug your scripts in an old "classic"
vb compiler (vb/6). Just declare all your variables as
"variants" and away you go. Well not exactly, you do have
to include the appropriate typelibs in your project to get
the "hinting".

In case you didn't have the foresight to buy a copy of vb5/6
when it was available, you should be able to find a copy of
ms's (free) vb5cce available on the web (if you search hard
enough). MS itself stopped offering vb5cce about two years
ago.


cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)

p.s. I forgot about mse/mse7 (microsoft script editor).
If you struggle with it long enough, it will also do
"hinting". (mse/mse7 comes with ms office).
From: Mike B on

"mr_unreliable" <kindlyReplyToNewsgroup(a)notmail.com> wrote in message
news:%23y8T0fvjKHA.340(a)TK2MSFTNGP02.phx.gbl...
> Thomas Steinbach wrote:
>> Is there an IDE which hast something like code-completition?
>> eg. If I type
>>
>
> If you have an unlimited budget, take a look at PrimalScript.
>
> If not, then you could debug your scripts in an old "classic"
> vb compiler (vb/6). Just declare all your variables as
> "variants" and away you go. Well not exactly, you do have
> to include the appropriate typelibs in your project to get
> the "hinting".


You can use the VBA editor / debugger with any office app to do the same
thing. For prototyping, use early binding to get intellesense to work, then
change to late binding for final debugging prior to using as script only.



> In case you didn't have the foresight to buy a copy of vb5/6
> when it was available, you should be able to find a copy of
> ms's (free) vb5cce available on the web (if you search hard
> enough). MS itself stopped offering vb5cce about two years
> ago.
>
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
> the answers will be applicable to the questions)
>
> p.s. I forgot about mse/mse7 (microsoft script editor).
> If you struggle with it long enough, it will also do
> "hinting". (mse/mse7 comes with ms office).


From: mayayana on
My own editor:

WEB-ED Editor
http://www.jsware.net/jsware/webed.php5

WEB-ED provides code completion for any
number of objects, with customizable menus.

One way to do that is for the editor to "watch"
and fetch the typelib when you type a line
with "CreateObject". There's nothing wrong with
that method, but WEB-ED works somewhat
differently. Rather than fetching the typelib of
an object when CreateObject is used, you add
the object in a settings window and assign any
number of variables. Then you get code
completion whenever you type a listed variable.
The method/property list is stored (similar
to early-bound objects) and that list can be edited
if desired.

Obviously I have a vested interest here. :)

If I leave my own software out of the picture I'd
say there are two well-known but absurdly priced
editors: Primal Script and Admin Script Editor. They're
the sort of thing you might want if you like a very
traditional editor and the boss is paying.

A good bet cheap is VBSEdit. Last time I checked
it was free (with a nag screen). Simple and small
but very functional, and I think it has code completion.

There are also a number of popular tools like
Emacs, Notepad++, etc. Personally I find those kind
of editors too general. Lots of editors like that will
color-code dozens of languages, but only in the most
rudimentary and generalized way, without any special
treatment for particular languages.

I'm probably leaving out a couple of good options.
But very few editors specialize in VBS and very few offer
code completion. So if you seach for those terms
together you should find what's out there.

>
> Is there an IDE which hast something like code-completition?
> eg. If I type
>