[Geany-devel] Calltip and autocomplete interaction

Enrico Tröger enrico.troeger at xxxxx
Fri Jul 24 18:26:54 UTC 2009


On Fri, 24 Jul 2009 21:42:03 +1000, Lex wrote:

Hey,


>>>When typing a function call, the calltip is shown when the '(' is
>>>typed.  It is then replaced by autocomplete suggestions as the
>>>parameter is typed.  If the autocomplete is accepted then the calltip
>>>is re-displayed, but if the autocomplete is not accepted, such as by
>>>typing ',' then the tooltip is not re-displayed, very annoying.  I
>>>know I can re-display it manually by twisting my fingers into a knot
>>>;-) but automatic would be better.
>>
>> You know you can re-configure the keybinding for showing calltips :)
>>
>
>Yeah, but running out of keycodes, too many functions in Geany ;-)
>anyway don't need to now :-)

We definitely need keyboards with way more than 105 keys, basic design
failure :).


>>>Also I noticed that the manual doesn't describe symbol autocompletion
>>>operation and the keycodes for accept and dismiss.  It does for
>>>snippets, but not for symbol autocomplete.
>>
>> You mean Enter/Tab to accept an item and Escape to cancel an
>> auto-completion list?
>>
>
>Yeah, I could see where the snippets section talks about its
>autocomplete, but not symbol autocomplete.
>In fact the only mention of symbol autocomplete, besides in the list
>of features on page 1, seems to be buried in the tags section and
>nothing about how its UI works.
>And I only found that reference by searching the document for "auto"
>when I was trying to check that I understood how it should work before
>I reported the bug.

Indeed.
Maybe we should add some information about this.
What is worth to be mentioned?

- the configurable keybinding to trigger an auto-completion list
(Ctrl-Space) or by typing more than 4 characters (also configurable)
- hiding the list with Escape or with any non-matching character
- selecting an item with Space/Tab/Mouse click
- special auto-completion when using Ctrl-Space which contains not only
known symbols, but also all matching words of the current document, if
enabled
- special '.' / '->' auto-completions
- what else?


If anyone of you is bored enough, a patch with some text would be
cool :).

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090724/642c26cc/attachment.pgp>


More information about the Devel mailing list