Use an editor that understands PHP, such as PhpStorm, or VS Code with a PHP extension (for example Intelephense). What helps most with Jamroom:
jrCore_db_ lists the DataStore functions.data/ from indexing and search: it holds caches, logs and uploads..tpl files as Smarty templates. PhpStorm has Smarty support built in; set the delimiters to { and }.Connect the editor to Xdebug to stop at breakpoints. See Setting Up a Debugging Environment.
Jamroom's own code uses 4 spaces, braces on their own line for functions and blocks, and docblocks on every function. Match it in your modules, so they read like the rest of the code.