mmieher Active Member Licensed User Longtime User Jun 5, 2022 #1 Put multiple Class Globals sections/definitions all over the place. Compiler figures it out.
mmieher Active Member Licensed User Longtime User Jun 6, 2022 #3 LucaMs said: Why? Click to expand... 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: Code: 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: Code: Sub Another_Class_Globals Public myPublicVar as Object Private myModuleVar as Object End Sub Last edited: Jun 6, 2022
LucaMs said: Why? Click to expand... 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: Code: 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: Code: Sub Another_Class_Globals Public myPublicVar as Object Private myModuleVar as Object End Sub
LucaMs Expert Licensed User Longtime User Jun 6, 2022 #4 mmieher said: I either constantly hover, CTRL-E, look, then ALT-BACK ARROW to see the global definition, Click to expand... CTRL+E is used to find Subs, not for definitions of variables. You can press F12 (cursor on the variable) and next ALT-BACK ARROW. Anyway, I had already asked (a "Wish") for a more detailed description in the "popup" shown on hover.
mmieher said: I either constantly hover, CTRL-E, look, then ALT-BACK ARROW to see the global definition, Click to expand... CTRL+E is used to find Subs, not for definitions of variables. You can press F12 (cursor on the variable) and next ALT-BACK ARROW. Anyway, I had already asked (a "Wish") for a more detailed description in the "popup" shown on hover.