[Geany] How to define autocomplete trigger and question about calltip appearance

Lex Trotman elextr at xxxxx
Sun Feb 26 07:18:47 UTC 2012


On 26 February 2012 18:12, klo uo <klonuo at gmail.com> wrote:
> Thanks for the info.
> I was browsing tagmanager folder in Geany source at the same time and now it
> doesn't seem like great idea to convert what I have to Tagmanager format,
> which is perhaps used by symbol browser and some Geany internals probably,
> and doesn't fit calltips usage

You now understand our ambivalence to that code :)

>
> OTOH, pipe-separated format can show Description (which docs state that is
> "currently unused and should be left empty.") if simply pipe isn't entered
> before description text.
>
> Now my problem is how to tell Geany to parse function name that has . (dot)
> in the name. For example I'm creating .tags file for Geany Lua plugin and in
> filetypes.lua file I added:
>
>     whitespace_chars=\s\t!\"#$%&'()*+,-/:;<=>?@[\\]^`{|}~
>
> (taken from "filetypes.common" without . (dot) in it). My idea was to tell
> Geany to treat . (dot) like word character.
> Unfortunately this didn't work, and I guess there must be some way to do it.

IIUC its in Scintilla lua lexer. Probably hard coded though I'd guess.
>
> BTW I noticed that Geany displays drop-down autocomplete list with max 30
> entries, and does not reduce entries as I type, which is no good
>

Yes its limited to 30, but it should decrease, does for me, but maybe
its because of the dots.

Cheers
Lex

>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list