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


---

# Context menu in the syntax editor

# Context menu in the syntax editor {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

View the context menu for script includes, Glide APIs, and tables in the JavaScript syntax editor.{#context-menu-syntax-editor__context-menu-short-desc}  
With the context menu options, your users can navigate to:

* Script include definitions
* Glide API documentation
* System and custom table definitions and data
{#context-menu-syntax-editor__ul_l5j_bxj_fhb}

In the syntax editor, bold font is used for tokens that have a context menu. Right-click the
token to view context menu options. If you use a Mac, you can use the Command-click shortcut.  
{#context-menu-syntax-editor__table_cwh_4xj_fhb__entry__3}

| Token type | Context menu option | Description |
|-|-|-|
| Script include | Open Definition | Definition of the script include in a new window. |
| Script include | Find References | List of files referencing the script include. Note: * To view the preview of the file, click the preview script icon ![Preview script icon](). To open the file in a new window, click Open File. * To view all files that reference the script include, click Show All Files. {#context-menu-syntax-editor__ul_gsc_rty_t3b} |
| Glide API | Show Documentation | Documentation page of the Glide API. |
| Table | Show Definition | Definition of the system or custom table in a new window. |
| Table | Show Data | Records in the table that are based on the role of the current user. |
[Table 1. Context menu options]

{#context-menu-syntax-editor__table_cwh_4xj_fhb}  
Enable or disable the context menu in the script editor using the glide.ui.syntax_editor.context_menu 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.  
Note:  
Context menu options can be accessed only if the browser supports SharedWorker. For example, Google Chrome and Mozilla Firefox.

