autocompletion in AS editors? [was Re: AsciiNumber & AsciiCharacter Handlers]
autocompletion in AS editors? [was Re: AsciiNumber & AsciiCharacter Handlers]
- Subject: autocompletion in AS editors? [was Re: AsciiNumber & AsciiCharacter Handlers]
- From: has <email@hidden>
- Date: Thu, 9 May 2002 19:50:29 +0100
Arthur wrote:
>
There are some interesting issues with regard to auto-completion that
[...]
>
means that an AppleScript autocompletion tool would have to be especially
>
intelligent. (In my personal experience, most auto completion tools are
>
NOT especially intelligent). ;-)
True. I think any such tool would need to be fairly conservative and not
try to do more than it's capable of doing well. Nothing is more annoying
than an autocomplete that gets in your face all of the fricking time. If it
just does the stuff that it has a good chance of guessing correctly:
individual variable names, some osax/app calls. I don't want it to write
the whole script for me, just help me with certain words and constructs
that I type frequently.
If I type disp... then it ought to try "display dialog " (which is a
reasonable guess, not least because this is commonly used). After I've
entered the string to be displayed, if I continue by typing "wi..." then it
should get "with default " - followed by a "b" it'll get "buttons " or by
an "a" for "answer ". And if writing a smart system that can figure this
out on they fly is too difficult, then simply create a dumber system that
autocompletes only specified items according to a simple set of rules
(which could always be user-extensible).
A glossary tool would be even easier to implement (as I've mentioned, even
I could write one) and would be equally useful.
And in any case, just because something is difficult to do - and do well -
doesn't mean it isn't worth doing at all. I want my flashy features,
dammit.:)
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.