QB64 Phoenix Edition
Viewing SUBs in IDE - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: Viewing SUBs in IDE (/showthread.php?tid=2741)



Viewing SUBs in IDE - TerryRitchie - 05-27-2024

Just a quick idea/suggestion that maybe could be incorporated into the IDE at a later date.

It would be great if when viewing the SUBs in the IDE (View-->SUBs...  F2) the subroutines and functions from included libraries would also be listed. If one of the included subs or functions is chosen from the list a second IDE appears with that library's code scrolled down to that sub/function.

Within the SUBs listing box that appears showing Program Items perhaps the subroutines and functions contained in library files could be a different color to delineate them from the local subroutines and functions.

As a bonus pressing F1 within the code on an external library subroutine/function would act the same as pressing F1 on a local one.

Just a thought. Since the introduction of $INCLUDEONCE I have been breaking my libraries up into smaller library files making it easier to add just the routines I need to new projects. I often include the usage documentation directly into the include file within the subroutines and functions. It would be great if I could use F2 to select and view these include files at will in a secondary IDE.

I use RhoSigma's modified Notepad++ to do this now but sometimes I'll have 30+ documents open at a time and finding the right one for a quick peek at documentation takes a bit of time.