IonicWind Software

IWBasic => IWB 2.5 Beta => The BoneYard => IWB 2.5 beta Suggestions => Topic started by: DrT on September 29, 2012, 08:47:51 PM

Title: IDE AutoComplete Properties and Methods for Instances
Post by: DrT on September 29, 2012, 08:47:51 PM
This may have already been proposed and/or implemented, but it would be nice if autocomplete worked with class definitions.  For example, typing the instance name and then the dot operator invokes autocomplete with a list of relevant properties and methods.
Title: Re: IDE AutoComplete Properties and Methods for Instances
Post by: LarryMc on September 29, 2012, 10:19:23 PM
Not sure of how effectively it could be coded.
First I would have to search all the source files and include files to identify all the possible classes that could be used.
Then I would have to search all the files to find every variable that was defined as an instance of a class.
Then every time the user types a letter I would need to check to see if they are typing a class variable.
I would also have to check to see if a user was creating a new class to update the list.
I would also have to check each time a use typed something to see if they were typing inside a class definition and changing it.

From past experience I don't know if I can do all that additional checking each time a character is typed without slowing down the editing/updating process significantly.

The new IDE already has autocompletion prompting for all the built in commands but not for any commands/functions the user creates.

But I will look into it after I get through with the rewrite  of the help file and the implementation of the code for the debugger.

Thanks for the suggestion.