---
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


---

# JavaScript syntax editor

# JavaScript syntax editor {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The syntax editor provides support for editing JavaScript scripts.

The syntax editor has these features.

* JavaScript syntax coloring, indentation, line numbers, and automatic creation of closing braces and quotes
* JavaScript support
* Linting using the ESLint utility  
  Note:  
  Modify or view default linting configurations by accessing the glide.ui.syntax_editor.linter.eslint_config property in the System Property \[sys_properties\] table. See [Available system properties](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US) for more information.
* Context menu for script includes, API, and tables
* Script macros for common code shortcuts

{#c_SyntaxEditor__ul_bnn_pyb_bq}

This feature requires the
Syntax
Editor (com.glide.syntax_editor) plugin.  
Figure 1. JavaScript editor
* **[Syntax editor plugin](https://servicenow-prod.fluidtopics.net/hWXvzcXiOUeCuYNDWxDbaA)**   
  Enable the syntax editor plugin to use the syntax editor.
* **[Context menu in the syntax editor](https://servicenow-prod.fluidtopics.net/TeQ1eY4jmgtObdrr6rSHxg)**   
  View the context menu for script includes, Glide APIs, and tables in the JavaScript syntax editor.
* **[Script syntax error checking](https://servicenow-prod.fluidtopics.net/zP6s7GBcpb1SVF4o6WZ3YA)**   
  All script fields provide controls for checking the syntax for errors and for locating the error easily when one occurs. The script editor places the cursor at the site of a syntax error and lets you search for errors in scripts by line number.
* **[Searching for errors by line](https://servicenow-prod.fluidtopics.net/DdTmqSI3reLdli3Nzott_A)**   
  To locate the exact position of the error in a large script, click the Go to line icon.

