Translator - Code Editor

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 provides on-the-spot scripting support for data mappings, functions and variables instantly as you code.

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.

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.

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.

 

Related pages