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

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# JavaScript syntax editor

# JavaScript syntax editor {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](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=xanadu&pubname=xanadu-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/vw_~Vq0URESJZYK8mGjWag)**   
  Enable the syntax editor plugin to use the syntax editor.
* **[Context menu in the syntax editor](https://servicenow-prod.fluidtopics.net/znjU9yVK1AxmjbPX3esxmg)**   
  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/AoGEeSaJU3Q6itKdrGfFJw)**   
  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/ddsQ7pzqxFCzIT0t1zqISQ)**   
  To locate the exact position of the error in a large script, click the Go to line icon.

