Internal and external editors

In Intrexx, there exist internal editors for use in the integration of JavaScript, Groovy, and Velocity into your portal. With them, you can compose and manage your own code comfortably and easily. Alternatively, you have the ability to integrate external editors if you wish. This ability exists in a central, module-spanning location: in the editor settings, which you can reach via the menu item Extras / Options.



Click on Browse here in order to enter the program path to your external editor. If a file (such as the JavaScript file for the application) is opened in an external editor, the script button cannot be used as long as the external editor is running. The external editor writes to a temporary file first, which will be applied to the application only after the editor is closed.

Please do not change the temporary file name. Use the "Save" function in the external editor.

Here are some examples for the setup of an external editor:

Notepad++

"\notepad++.exe" -multiInst ${file}

Editplus

"\editplus.exe" ${file}

gedit

"/usr/bin/gedit" --new-window ${file}
Entering the parameter ${file} is usually not required; however, it can be entered if the external editor expects or supports additional parameters after the file name. The file path must be enclosed in quotation marks, the parameters follow thereafter. With the setting Field suggestion list in Groovy editor inserts ValueHolder the Field suggestion list in the Groovy editor inserts g_record["GUID"]. If the setting is not enabled, the Field suggestion list inserts g_record["GUID"].value.

Further information regarding the various editor types can be found here.