02-01-2023, 05:03 PM
(02-01-2023, 04:25 PM)TerryRitchie Wrote:(02-01-2023, 04:11 PM)RhoSigma Wrote: Just in case you guys didn't found it yet, here's my Notepad++ config for QB64.
Had no idea, thank you for pointing this out. I love the QB64 IDE but often times need a scratch pad to hold functions and other code. This np++ config looks perfect for that.
As far as organizing in the IDE when programming; I have a tenancy of placing finished working funcs and subs at the bottom of the code leaving only the funcs and subs at the top that I'm currently working on. When finished with a project I'll either move them around in a more ordered fashion or in the case of libraries in alphabetical order.
Also, in projects I'll surround subs and functions with a box with the name of it off to the right hand side like so:
Code: (Select All)'--------------------------------------------------------------------------------------------------------------------------+--------------+
SUB HandleEvents () ' | HandleEvents |
'+---------------------------------------------------------------------------------------------------------------------+--------------+
'| Monitor and handle various event happenings throughout game |
'+------------------------------------------------------------------------------------------------------------------------------------+
As I scroll through the code I can look at the tab labels I've created on the right-hand side to identify funcs and subs quickly.
I've seen your code layout and it's beautiful to look at and read. I would say it's a good way you have for navigating while developing without the option of being able to collapse code.