[Gambas-user] Auto property type filling

Benoît Minisini g4mba5 at gmail.com
Wed May 4 12:44:13 CEST 2022


Le 04/05/2022 à 12:03, Bruce Steers a écrit :
> I want to add a way to auto insert property types as I enter them.
> 
> Eg.
> if i type...
> Dim bMySwitch
> or
> Private/Public bMySwitch
> Then when hitting space i want it to auto-detect I'm defining a variable 
> and see the lowercase letter followed by an uppercase letter and use the 
> lowercase to auto-add the *As Boolean* bit.
> 
> My question is...
> 
> Where is the best place to add code for it?
> Would it be the in the texteditor gambas mode class or in 
> Completion/FCompletion classes somewhere?
> 
> Any suggestions/advice appreciated Ben (or anyone else)
> 
> Cheers
> BruceS
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

It's not easy to explain, give me some time! I just recover from surgery 
for appendicitis.

-- 
Benoît Minisini


More information about the User mailing list