Page 1 of 1
Auto-complete
Posted: Mon May 12, 2003 9:02 am
by schnitzi
A command to auto-complete a word, based on the previous occurrence of the word you're in the middle of typing.
For instance, if you're editing a Java class called MyJavaClass, and you're in the middle of the file, you can just type "myj[autocomplete]" and the text you're typing become "MyJavaClass", because it matched the previous occurrence up where you typed "class MyJavaClass {".
Basing the auto-completion on previous text within the file is a simpler way to do it than trying to build up a list of tags like the way many IDEs do it. Tag recognition would be beyond the scope of a general-purpose text editor like TextPad.
[By the way, I have created a macro that does this, which you can download from the site ("Auto Complete"). I have it tied to Ctrl-K, and it is insanely useful. However, it does kill what's in your clip buffer, and acts oddly when there's no previous occurrence. So a TextPad internal command to do this without these limitations would be peachy.]
Posted: Mon May 12, 2003 9:31 am
by trids
Please provide a voting sheet - I'd like to agree enthusiastically.
However there is something to be said for tag-recognition: it could be accomplished quite easily with syntax files, and also offers the feature of defining abbreviations to identify keywords (rather than basing the guess on the first few characters of the word)
Perhaps a combination of both "previous text" and "listed tags" .. ?
Posted: Mon May 12, 2003 8:28 pm
by CJ
I second
trids' request for a poll. Please put one up so that we may vote on this issue.
Auto-complete is one feature that would make Textpad such indispensible tool for me. I assume it could draw upon the keywords in the syntax file.
Here is a capture showing Macromedia Dreamweaver's auto-complete functionality.
Posted: Tue May 13, 2003 8:57 am
by Nial
> Auto-complete is one feature that would make Textpad such
> indispensible tool for me.
A _more_ indespensible tool you mean
> I assume it could draw upon the keywords in the syntax file.
I wouldn't agree with just using keywords.
As part of my efforts to make my VHDL understandable I try to
make signal names as descriptive as possible. This can lead to
a number of long signal names, especially if you've a number of
instances of the sme component with a prefix before signal names
to differentiate them.
Autocomplete can be very useful in this instance to cut down the
amount of typing, but it's got to search in file (backwards will do)
for signals with the same root.
It's also got to be easy to invoke, double Esc or something similar.
Nial.
Posted: Wed May 14, 2003 7:27 am
by Jens Hollmann
Yes Auto-Complete is a nice feature. I myself wrote a rather long enhancement request to Helios directly (before this forum came to life).
But as I now use another tool for this (UltimaShell) I lost interest in seeing this implemented in TextPad.
The advantage in an external tool is that you can use this outside TextPad too (Like in Word or OpenOffice to write documentation). I wouldn't want to miss this handy little pop-up window wherever I type ;-)
Jens
Posted: Fri May 16, 2003 4:04 pm
by CJ
Hello Jens.
Well, since reading your response I've downloaded and tried UltimaShell. Wow! What a capable little program! I had no idea it would be that easy to add AutoComplete functionality to Textpad or any other program.
I see what you mean about losing interest in seeing TextPad implement AutoComplete. It doesn't actually matter now if they do or not.
Thanks for that.
Posted: Fri May 16, 2003 5:08 pm
by MudGuard
Started testing it. Seems to be very handy.
For convenience of others:
you can download Ultimashell from here
Posted: Thu Jun 12, 2003 6:49 pm
by SecondToughest
Actually that is an older version. You can get the newest version direct from the company that develops it here:
FlashPeak Software.
ST
Posted: Wed Jun 18, 2003 9:42 am
by Billi
WOW !!
I tested these little tool - imported my Language (German) and is is great...
Billi
Posted: Fri Aug 08, 2003 3:31 pm
by zzappster
This is big one for all developers. As a user of Codewright there are a few things it has that keep me from being a full-time user of Textpad.
If this gets implemented I'd like to see the Codewright method used. It can display a list of matches like most editors or, more importantly, have an option that allows cycling through the list of matches by repeat presses of the auto-complete key. When the auto-complete key is a single key rather than a key combo, it is a great frustation saver. No more hitting the wrong keys because of having to press different keys (ALT+Space, Up/Down Arrow) to find the correct replacement.
Another thing they do is prefer the current file for replacement, followed by open files, followed by open project, followed by defined libraries.
Posted: Thu Aug 14, 2003 6:59 pm
by Angantyr
I tried the FlashPeak software for auto-completion. Nice...except that it comes with a $50 price tag. That's significantly more than Textpad itself.
I would rather see Texpad implement basic, native auto-completion instead.
poll?
Posted: Tue Aug 19, 2003 2:08 pm
by briankiser
So where's the poll?
Posted: Thu Aug 28, 2003 8:32 am
by JustinHoMi
Yeah... I'd really like to see autocomplete in TP.
Re: poll?
Posted: Thu Aug 28, 2003 10:21 am
by jeffy
briankiser wrote:So where's the poll?
Ta-da:
http://www.textpad.com/forum/viewtopic.php?t=4291
Please vote and continue your conversation there.