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.

...

Expand
title1) . Code Auto-completion

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

Expand
title2) . Annotations

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

Expand
title3) Error Stack Trace Window

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 . The stack trace 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.

Expand
title3. Auto-indentation4)

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

Expand
title5) 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: Select a block and tab to get blocks aligned.