The script editor in Cyclos uses CodeMirror, which provides syntax highlighting. However, as the script complexity grows, better tooling support is needed. We use and support using Eclipse, together with the Groovy plugin.
For this purpose, Cyclos provides, in the details page of scripts, a button names "Get code for debug". It will download a ZIP file with the full code of each script box, with all library code already included (there are comments separating each include). Also the script parameters are returned, including script parameters of included libraries as well. This is the code that is actually executed by Cyclos.
In order to run the scripts in the IDE, a local copy of the Cyclos database is needed, as well as a copy of the JARs bundled with Cyclos. Also, a small Groovy script needs to be written to provide the actual script the context (bound variables). The ZIP file also includes a README.html file, which will explain how to setup the environment and run the script.