Using the text editor

The Text Editor helps you develop directly in the flow editor view, most commonly when defining the artifacts contained in modules, such as JSON schema files.

Working in the text editor

The editor supports standard file operations including save, open, and download. The editor supports the following file types: .py, .json, .js, .ts, and .md.

There are various keyboard shortcuts to improve efficiency, listed under View > Shortcuts.

You can customize the text editor based on your preferences:

  • Light and dark modes — To enable dark mode, select View > Dark mode.

  • Tab size — To configure tab size (default: 2), select Settings > Tab Size.

Templates

Code templates help you quickly create custom functions, also called user-defined functions (UDFs). To view templates, select Insert > Templates. Search by title, then copy and paste a template into the editor. To save editor contents or a selection as a template, select File > Save as Template.

Debugging

To write and test UDFs, open Tools > Debug.