tsteward Well-Known Member Licensed User Longtime User Aug 9, 2026 #1 Is there a keyboard shortcut or mouse trick to select a complete sub or is it just click and drag?
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2026 #2 Hover over the sub name -> Show in window -> Ctrl + A Upvote 0
Cableguy Expert Licensed User Longtime User Aug 9, 2026 #3 If the sub is "important" to the code, I like to encapsulate it inside #regions... with them collapsed, you only need to select one line, and you get the complete sub Upvote 0
If the sub is "important" to the code, I like to encapsulate it inside #regions... with them collapsed, you only need to select one line, and you get the complete sub
Alessandro71 Well-Known Member Licensed User Longtime User Aug 9, 2026 #4 I'm probably missing something here: Subs already have a */- button next to them in the IDE. If you click the "-" the Sub will be collapsed in one line that you can select and copy/paste Upvote 0
I'm probably missing something here: Subs already have a */- button next to them in the IDE. If you click the "-" the Sub will be collapsed in one line that you can select and copy/paste
LucaMs Expert Licensed User Longtime User Aug 9, 2026 #5 Cableguy said: If the sub is "important" to the code, I like to encapsulate it inside #regions... with them collapsed, you only need to select one line, and you get the complete sub Click to expand... This is useful if you have more than one Sub in the Region, otherwise just "collapse the module" (CTRL+O), select only the Sub name and CTRL+C. Upvote 0
Cableguy said: If the sub is "important" to the code, I like to encapsulate it inside #regions... with them collapsed, you only need to select one line, and you get the complete sub Click to expand... This is useful if you have more than one Sub in the Region, otherwise just "collapse the module" (CTRL+O), select only the Sub name and CTRL+C.
tsteward Well-Known Member Licensed User Longtime User Aug 9, 2026 #6 All interesting Thank you Upvote 0