[Gambas-user] New feature in the IDE code editor

John Spikowski support at ...2529...
Tue Aug 14 21:46:00 CEST 2012


Personally I would have opted for a warning message indicating a missing
declaration. I have problems when the IDE decides to take over my job as
the programmer.



On Tue, 2012-08-14 at 19:59 +0200, Benoît Minisini wrote:
> Hi,
> 
> In revision #5041, I started to implement automatic declaration of 
> undeclared local variable.
> 
> For example, if you type:
> 
>    X = Sin(A)
> 
> And if X is not declared, then the IDE will automatically add:
> 
>    Dim X As Float
> 
> At the beginning of the function.
> 
> This is not finished yet. The following is missing:
> - Support for FOR / FOR EACH loop variables.
> - Detection of the [ ... ] array creation operator.
> - Lot of tests.
> 
> Enjoy it!
> 






More information about the User mailing list