---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Syntax editor plugin

# Syntax editor plugin {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 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

{#c_SyntaxEditorPlugin__ul_urj_kzx_zp}  
Figure 1. JavaScript syntax editor

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](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US).  
Note:  
Administrators can disable or enable the syntax editor for all users, regardless of user preference.
* **[Syntax editor JavaScript support](https://servicenow-prod.fluidtopics.net/RNEe9pxhMbi1Mab5AFNpiw)**   
  The syntax editor provides editing functions to support editing JavaScript scripts.
* **[Syntax editor keyboard shortcuts and actions](https://servicenow-prod.fluidtopics.net/UCjpyvxM55_axA44ljXpBw)**   
  The syntax editor offers keyboard shortcuts and actions to assist in writing code.
* **[Syntax editor macros](https://servicenow-prod.fluidtopics.net/xP6NDCbITL~_5_WonRjDNw)**   
  Script macros provide shortcuts for typing commonly used code. To insert macro text into a script field, enter the macro keyword followed by the Tab.
* **[Create or modify a script macro](https://servicenow-prod.fluidtopics.net/3MUmaMzTMJPxSb97j5_nXw)**   
  Administrators can define new script macros or modify existing script macros.

