Script Editor

Since JavaScript coding for your project is done in the Script Editor, it is one of the most important components of the Smartface Cloud Development module. You can reach the Script Editor when you open a script file from the scripts folder.

Script Editor Features

AutoComplete

AutoComplete provides code completion support while coding. It can be accessed with "Ctrl+Space" shortcut or after typing a dot (“.”)

Find & Replace

The search feature is used to find a keyword in project files names & in scripts inside the files. It can be accessed from the left panel, search tab(3rd). For replacing a keyword with another text. Anther textbox can be shown by clicking on the small arrow beside the searchbox.

Syntax Check

Script Editor automatically checks the code syntax. In case of a syntax error, a warning icon is displayed on the related line to locate the error.