I work a lot this few months on ProcessMaker, and i thought that the code editor is poor for big script.
I developed an external editor with visual studio code. https://code.visualstudio.com/
Script reads and updates are based on the ProcessMaker APIs.
The scripts are written on the file system which allows to use git.
Thi is a functional BETA, but it is still a beta, the code is very ugly