+16
Voting

Checking syntax when saving scripts

rocfusion 10 jaar geleden in iRidium Script bijgewerkt door Oksana (expert) 9 jaar geleden 4
Hi,

It would be very useful and time saving when scripts are saved the syntax of the script is checked. ie functions, variables, operators, conditional statements ( for, if, while, switch ) At this time when you run the emulator or transfer an project with a script which is known to generate an exception because of bad syntax, there is nothing being checked. You have to wait. Now depending on the system you are developing on that can be 30 secs to minutes of time wasted waiting for the emulator to start only to discover that you forgot to add an closing bracket ' }' on an if statement, It would save sooo much time if at the point of saving the script the syntax is checked and if there is an error, a dialogue displays what is wrong,

This system of syntax checking exists in many other development environments and is an feature which is missing from the iRidium script editor, Even the Logic Machine from Embedded Systems has this built in their lua scripting editor

Thanks,


Roger
+1

I've heard this many times from JS developers!

+1

It could be separate button "Compile"