Wish Fast declaration for undeclared variable

Toky Olivier

Active Member
Licensed User
Longtime User
I wish that a Right Click on an undeclared variable in the editor will show a Menu with submenus:
- Declare a local variable (Current Block)
- Declare a local variable (Current Sub)
- Declare a Globals variable
- Declare a Process_Globals variable
The type is determined automatically (example:
B4X:
MyVar = 140, => Dim MyVar As Int
) and if necessary, with a CTRL key press for example, a dialog will prompt for the wanted type.
With this, if I want to create a variable, I just use it and fast declare it.
 
Top