Syntax editor plugin

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Enable the syntax editor plugin to use the syntax editor.

    The syntax editor enables the following features for all script fields:

    • JavaScript syntax coloring, indentation, line numbers, and automatic creation of closing braces and quotes
    • Code editing functions
    • Code syntax checking
    • Script macros for common code shortcuts
    Figure 1. JavaScript syntax editor
    Edit JavaScript syntax

    The syntax editor can be disabled or enabled by modifying the glide.ui.javascript_editor property in the sys_properties.list. In addition, administrators can configure the syntax editor to show error and warning indicators next to a line of code that contains an error by modifying the glide.ui.syntax_editor.show_warnings_errors property. For information on the sys_properties.list, refer to Available system properties.

    Note:
    Administrators can disable or enable the syntax editor for all users, regardless of user preference.