QB64 Phoenix Edition
Suggestion for IDE for loading BI/BM files - 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)
+---- Forum: GitHub Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=42)
+---- Thread: Suggestion for IDE for loading BI/BM files (/showthread.php?tid=2463)



Suggestion for IDE for loading BI/BM files - dano - 02-24-2024

Would it be easy to add an option to the IDE so that on compile it always re-loads the BI/BM modules?

My reasoning for this is that I usually work on my libraries on my right monitor while I work on my main code on my center monitor. I know you can double-click on the library in the main code and edit the library and such, but that is not how my libraries are set up.  

My libraries are set up so that the BI/BM files are a single working .BAS file. I have a place for code within this .BAS file that I can use to test the library when editing or fixing bugs.  When I have things working as expected, I have a program that takes this .BAS program and splits apart the BI/BM files (removes the test code), and places my comments within the library in a Word file (each Sub/Function's comments are separated & highlighted with documentation below). This allows me to edit the .BAS library file as needed, test everything, and it will automatically update the BI/BM and generate the documentation.  For me it is much easier.

If you a re wondering why I do it this way, it allows me to write the code for the library and test it by simply pressing F5. I never have to go down to the include line to click on the file to edit the code separately and then back to testing.  I edit/run, edit/run...etc until it works.  Edit as if it were just a plain .BAS program and not a library.  Easier for me.

Currently I force the IDE to reload the libraries by inserting a foreign character into the file name, move up a line (it flags as an error), move back down a line and remove the foreign character.  It works, just a PITA.

Yeah, it's kinda weird, but it works well for me.


RE: Suggestion for IDE for loading BI/BM files - RhoSigma - 02-24-2024

External dependencies detection will come soon in QB64-PE v3.12.0, also $INCLUDEONCE.

It may take another week until the new release, but your requested changes are already in the Github repository and ready to work, so if you can't wait, then get a copy of the repo and build QB64-PE yourself.