Wish Multiple Class Globals

mmieher

Active Member
Licensed User
Longtime User
Put multiple Class Globals sections/definitions all over the place. Compiler figures it out.
 

mmieher

Active Member
Licensed User
Longtime User
Well. In my world...

I either constantly hover, CTRL-E, look, then ALT-BACK ARROW to see the global definition, or

I split the IDE window with a 2" scrollable window at the top showing the desired definitions area (after I found it). The bottom window is about 20" vertical of some cluttered sub I am working on.

However, enter the debugger. No matter which window has the focus when I start the program, the breaking point sets the focus on the tiny window at the top and jumps to the breakpoint, thereby losing the definition area I had previously located. Trying to keep the "definitions" window on the bottom is an exercise in frustration.

If I could just do something like the following, anywhere at anytime, those definitions would be right next to the Sub where I can see them. Even when I am STOPPED.

In a Sub somewhere:
B4X:
Public myPublicVar as Object
Private Gobal myModuleVar as Object
Dim JustThisSub as Int
or maybe as many times as I want anywhere (almost) I want:
B4X:
Sub Another_Class_Globals
     Public myPublicVar as Object
     Private myModuleVar as Object  
End Sub
 
Last edited:
Top