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

Lex Trotman elextr at xxxxx
Mon Feb 27 08:31:57 UTC 2012


[...]
> I mentioned that: Lua and Python
> Where are they hard-coded as only place where word characters are
> defined is 'editor.h:30' which should be overwritten with provided
> setting for "wordcharacter" property

The Lua tag parser only gets function names, nothing else, so I don't
see how it will find symbols that you can address as
something.somethingelse.

The Python tag parser has *hard coded* identifier characters. See
tagmanager/python.c:49-56.

You cannot set this.

[...]
> I would not expect same calltip for:
>
>    numpy.core.load(file) Wrapper around cPickle.load which accepts
> either a file-like object ora filename
>    json.load(file) Deserialize fp to a Python object.

Scope autocompletion does not work for these languages, see
http://www.geany.org/manual/current/index.html#scope-autocompletion

[...]
> And it's not just that, but I'd like more to solve this problem
> instead opening discussion

To solve it properly you will have to fix how scoped tags are handled
for these languages.

Cheers
Lex



More information about the Users mailing list