What is Auto-Completion?
Contents
Our goal is to make scripting easy for all our users, regardless of their coding expertise. With this in mind, we developed one of the most useful features of the Iguana Translator: the auto-completion tool. Auto-completion provides intuitive, interactive support that you can lean on whenever you need to use a variable, map message data or call a function. With show annotations enabled, you can write code with confidence!
Auto-Completion
Whenever you type something into the Editor window, Iguana’s auto-completion feature will attempt to guess your intention and offer hints, support, and scripting help. With auto-completion enabled, you can code faster and more accurately because you skip all the guesswork.
In previous releases, you had to “ask” for this help:
- You had to first know and enter a variable correctly before auto-completion was able to provide related support.
- You had to add a dot (.) or a bracket ([) at the end of the variable to activate auto-completion.
What’s more, auto-completion only supported variables that contained information extracted from an incoming message. Although this may have been useful for straight-forward data management (like mapping the segments of a message from one table to another), we soon realized that auto-completion had the potential to provide much more comprehensive scripting support!
In our latest release, auto-completion includes a whole new set of capabilities:
- Auto-completion help is no longer restricted to parsed message data. Now Iguana will offer suggestions for any globally or locally defined item: modules, functions, variables, parameters, etc.
- You don’t need to know the correct variable/module/function name in advance. You can simply start typing a word and auto-completion will guess your intention and offer you a list of potential matches.
- You don’t need to “ask” or activate auto-completion manually. Iguana will automatically offer help the moment you start typing anything that resembles either a global or local item.
- Auto-completion is now fully integrated with a new help system that provides extensive on-the-spot scripting support.
The next three pages describe how auto-completion works for modules and functions, parsed data and variables.