Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Translator Code Editor is where you write and test your Lua scripts. It includes intelligent development tools to ease the development experience and speed up projects.

...

Auto-Completion
Expand
title1) Editor
Expand
title2) Autocomplete
. Code Auto-completion

Auto-Completion provides on-the-spot scripting support for data mappings, functions and variables instantly as you code.

Expand
title3) 2. Annotations

TheAnnotation Windowsuse the provided sample data to display exactly how your data is affected by your code without ever having to compile.

The annotations also help with troubleshooting. When you have multiple functions interacting within a script, navigating and debugging issues is made easier with the Error Stack Trace window which provides the hierarchal function calls for more context and help identifying the root cause of issues within your scripts. The annotations help to navigate the functions and view relevant iterations.

Error Stack Trace Window
Expand
title4) Error Stack Trace Window
3. Auto-indentation

The code editor allows you to quickly format and align code blocks using the Tab key, ensuring consistent indentation, improving code structure and readability. See here how it can impact the readability of a project: Auto-Indentation.

Expand
title5)
  • How the project is stored on the drive (Current file, Annotations)

Link to docs that live in dev:

...

Queue Count

...

4. Project files directory (Current File)

Component project files are stored in the Component Configuration Files.

The Current File path displayed at the bottom of the Translator provides the directory path of where the current file opened is stored on the server. Having easy access to the location of project files provides transparency and ease in managing and debugging your projects.

Image Added