Suggestion: allow more fine-tuned control over the autocomplete list

Working on new editor enhancements?
Quin
Addict
Addict
Posts: 1133
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Suggestion: allow more fine-tuned control over the autocomplete list

Post by Quin »

Hi,
The autocomplete list is super nice, and I use it all the time. However, one thing that would make it so much nicer is if we could remove libraries from it that we simply don't use. For example I'm completely blind and have no interest in or use for 3d programming, so all those functions/associated constants just clutter up my autocomplete list.
My first thoughts on how an implementation of this would work is maybe an extra list that shows up if show library functions is checked?
Curious if anyone else has thoughts on this.
nsstudios
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: Suggestion: allow more fine-tuned control over the autocomplete list

Post by nsstudios »

+1
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: Suggestion: allow more fine-tuned control over the autocomplete list

Post by AZJIO »

+1

By the way, does anyone know where the list is located and whether it is possible to edit it yourself?
User avatar
spikey
Enthusiast
Enthusiast
Posts: 769
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: Suggestion: allow more fine-tuned control over the autocomplete list

Post by spikey »

AZJIO wrote: Sat Jul 13, 2024 7:11 pm By the way, does anyone know where the list is located and whether it is possible to edit it yourself?
It comes from a number of sources. The default compiler is queried at startup for a list of functions, constants, interfaces and structures known to it. The constant list for specific parameters is a fixed data table in the IDE source. The parser data structures are also scanned.

Apart from the options in the preferences dialog, the only way to have much control over it would be to create your own version of the IDE.
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: Suggestion: allow more fine-tuned control over the autocomplete list

Post by AZJIO »

spikey wrote: Sat Jul 13, 2024 8:44 pm The default compiler is queried at startup for a list of functions, constants, interfaces and structures known to it.
This could initially be stored in files that the IDE will read on startup. Then it would be possible to individually remove unused functions, so that the necessary ones are always at the top of the list. The choice would be from those that are really necessary. At any time it would be possible to return the complete list or add missing ones.
I know that the IDE can read code elements and structure fields and prompt them to be entered.
Post Reply