[Geany-Users] Autocomplete?

Jim jf_byrnes at xxxxx
Sat May 16 22:03:09 UTC 2020


On 5/16/20 12:29 PM, Matthew Brush wrote:
> On 2020-05-16 7:05 a.m., Jim wrote:
>> On 5/15/20 9:59 PM, Lex Trotman wrote:
>>> On Sat, 16 May 2020 at 12:07, Jim 
>>> <jf_byrnes at comcast.net> wrote:
>>>>
>>>> Using Geany 1.36
>>>> I have these checked in preferences:
>>>>
>>>> Auto completion of multiline comments
>>>> Auto complete symbols
>>>> Auto complete all words in the document
>>>> Chars to type = 3
>>>>
>>>> In my script I have a function named apply_colors.
>>>>
>>>> When I type appl
>>>>
>>>> This is the list I see.
>>>>
>>>> application_uri
>>>> applies_to
>>>> apply
>>>> apply_async
>>>> apply_colors
>>>> apply_filter
>>>>
>>>> The only item in the list that appears in my script is apply_colors.
>>>>
>>>> I am curious how autocomplete comes up with the words it shows in the
>>>> list.
>>>
>>> Not enough detail to be sure, but possibly global tags loaded for the
>>> unnamed language you are programming in.
>>
>> My bad, I am programing in Python3. I looked through the preferences 
>> for global tags but didn't see it. Where can I check it?
>>
> 
> The global Python tags are loaded automatically from this compiled 
> binary file:
> 
> https://github.com/geany/geany/blob/ea649d8024b14ce55a922e146078ad1bc15533df/data/tags/std.py.tags 
> 
> 
> The file is generated by this script:
> 
> https://github.com/geany/geany/blob/ea649d8024b14ce55a922e146078ad1bc15533df/scripts/create_py_tags.py 
> 
> 
> which - without reading it to verify - I believe just includes All The 
> Things.
> 
> For more info about tags, see the manual:
> 
> https://www.geany.org/manual/current/index.html#symbols-and-tags-files
> 
> Note that Geany doesn't really do any kind of introspection or 
> heuristics on the code or suggestions like some other editors try to do, 
> so the autocomplete list may not be very useful.
> 
> Regards,
> Matthew Brush

thanks for the info

Jim



More information about the Users mailing list