Jim You might find that the code snippets option might be more useful in your case. For example, define a snippet: ac="apply_colors" and now anytime you type ac<tab_key> apply_colors will appear in your code. I find it very useful, especialy when I want to insert multiline boiler plate code or comments.
On Sat, May 16, 2020, 05:00 users-request@lists.geany.org wrote:
Send Users mailing list submissions to users@lists.geany.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.geany.org/cgi-bin/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@lists.geany.org
You can reach the person managing the list at users-owner@lists.geany.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..."
Today's Topics:
- Autocomplete? (Jim)
- Re: Autocomplete? (Lex Trotman)
Message: 1 Date: Fri, 15 May 2020 21:07:31 -0500 From: Jim jf_byrnes@comcast.net To: users@lists.geany.org Subject: [Geany-Users] Autocomplete? Message-ID: r9nht4$2al4$1@ciao.gmane.io Content-Type: text/plain; charset=utf-8; format=flowed
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. I am wondering if there is a way to have a more concise list of possibilities. As it is now I would have to type apply_c before apply_colors could be inserted without using the mouse.
Thanks, Jim
Message: 2 Date: Sat, 16 May 2020 12:59:34 +1000 From: Lex Trotman elextr@gmail.com To: Geany general discussion list users@lists.geany.org Subject: Re: [Geany-Users] Autocomplete? Message-ID: <CAKhWKDPRsBuFVg3HUQNxM= BQ5oa6vgrRN1iXeihHK2qKvjRMkw@mail.gmail.com> Content-Type: text/plain; charset="UTF-8"
On Sat, 16 May 2020 at 12:07, Jim jf_byrnes@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.
I am wondering if there is a way to have a more concise list of possibilities. As it is now I would have to type apply_c before apply_colors could be inserted without using the mouse.
Thanks, Jim
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Subject: Digest Footer
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
End of Users Digest, Vol 173, Issue 2
On 5/16/20 5:43 AM, Tim Wallace wrote:
Jim You might find that the code snippets option might be more useful in your case. For example, define a snippet: ac="apply_colors" and now anytime you type ac<tab_key> apply_colors will appear in your code. I find it very useful, especialy when I want to insert multiline boiler plate code or comments.
Thanks, I can see where snippets can be useful. In this case apply_colors is defined once and called twice. It is specific to this script and I may never use that name again.
Jim