Context menu in the syntax editor
View the context menu for script includes, Glide APIs, and tables in the JavaScript syntax editor.
In the syntax editor, bold font is used for tokens that have a context menu. Right-click the token to view context menu options. With the context menu options, your users can navigate to:
- Script include definitions
- Glide API documentation
- System and custom table definitions and data
Image omitted: js-editor-context-menu.png
The context menu options for a script include in the syntax editor.
The context menu options for a script include in the syntax editor.
| Token type | Context menu option | Description |
|---|---|---|
| Script include | Open Definition | Opens the definition of the script include in a new window. |
| Script include | Find References | Displays a list of all files referencing the script include. You can preview the file or open the file in a new window. |
| Glide API | Show Documentation | Opens the API reference documentation for the Glide API in a new window. |
| Table | Show Definition | Opens the definition of the system or custom table in a new window. |
| Table | Show Data | Displays records in the table that are based on the role of the current user. |
You can configure whether to show the context menu in the syntax editor with the glide.ui.syntax_editor.context_menu system property.
Note: Context menu options can be accessed only if the browser supports SharedWorker, such as Google Chrome and Mozilla Firefox.
Parent Topic:Using the JavaScript syntax editor