Since I knew we can hold down Ctrl and DoubleClick a procedure name to immediately jump to it, it suddenly hit me today that why not make an "index" of procedure names at the top of my source so that I can Ctrl+DoubleClick to them quickly? I tried this with comments at first, but comments can't be clicked that way, so I did it with a section of code that isn't compiled into your exe when built. It's as simple as this:
Code: Select all
CompilerIf 0 ; This block not compiled into the exe. :)
GlobalVars() : MainLoop() : Tweaks() : QuitApp()
LoadSettings() : SaveSettings() : Screenshot()
CompilerEndIf
You can even "bookmark" non-procedure parts of your source with procedure names that never get compiled:
Code: Select all
CompilerIf 0
Procedure GlobalVars() ; Fake procedure to jump to global vars quickly. ;)
EndProcedure
CompilerEndIf
Global who,why,what,when,where,etc...