[wingide-users] Hide autocomplete if symbol is unique and complete

Wingware Support support at wingware.com
Wed Jul 19 10:52:55 MDT 2006


Hugh Gibson wrote:
>> Try to use manual autocompletion by unchecking Auto-show Completer
>> and use ctrl+space whenever you want the WingIDE shows the possible 
>> word.
> 
> Ah, that sounds like another option. I tried setting the timeout to 1 second but that's way too short. I had set the completion char to F12 to avoid completing accidentally, but with this option I can use it as I want.

Is the timeout too short because the list appears after you're finished 
typing a word and haven't type a space?  This is what I ran into when I 
tried this.

> Regarding my original posting, I know that if I type a non-symbol char (e.g. a space) after my symbol the auto-complete box disappears, but on occasion I want to use the up and down arrow keys to move up or down a line and it gets locked into auto-complete which is a pain.

The issue I see here is deciding when to hide the popup because I think 
you'd also want it hidden when a word is not in the autocomplete list at 
all.  Otherwise, you'd sometimes get the list left up and other times 
you wouldn't.  Perhaps there should be an option to only display it when 
the text partially matches something in the list, though you'd lose the 
list display when typing at the beginning of an existing word -- e.g. 
when changing attribute names by typing the new name after the period, 
completing the name, and then deleting the old name.

The challenge here is to come up with simple rules that govern when the 
popup appears and disappears so it doesn't seem to do so at random.

Cheers,

John


More information about the wingide-users mailing list