Page 1 of 1

Auto-complete

Posted: Wed May 23, 2012 10:06 am
by c.cunyBUSWsIe
Hello,

Brand new to LiveCode so bear with me.

Getting on with the tutorials, going smoothly so far but I wondered if I was missing something: is there no auto-complete (or visual syntax checker or whatever you want to call it)? The code doesn't seem hard so it's not too bad but auto-complete is particularly useful when it gives a list of objects and properties.

Please let me know if I am missing something.

Thank you.

Chris

Re: Auto-complete

Posted: Wed May 23, 2012 10:57 am
by shaosean
Nothing of the sort.. I know there was a third party script editor that had it, but cannot remember the name of it..

Re: Auto-complete

Posted: Wed May 23, 2012 11:14 am
by c.cunyBUSWsIe
Too bad. Thanks very much.

Re: Auto-complete

Posted: Wed May 23, 2012 11:48 am
by shaosean
Of course, it would be a good exercise to add the functionality to the IDE.. I would look at using a front script in a plugin..

Re: Auto-complete

Posted: Wed May 23, 2012 5:29 pm
by mwieder
Sean is no doubt referring to glx2:

http://bitbucket.org/mwieder/glx2

Free, open source, drop it in your user plugins folder and try it out. You can turn it on and off with one click or just pull it out of the plugins folder if you no longer want to use it.

<and yes, it would be nice if the built-in script editor could do auto-completion as well>

Re: Auto-complete

Posted: Wed May 23, 2012 5:33 pm
by c.cunyBUSWsIe
Oh brilliant! Thank you very much for the link.

Re: Auto-complete

Posted: Wed May 23, 2012 6:00 pm
by mwieder
NP. It's a work in progress, so there are still issues with it. Feel free to log any bugs in the Issues section of the website.

Oh... and there's some documentation at http://glx2.ahsoftware.net

Re: Auto-complete

Posted: Wed May 23, 2012 6:07 pm
by c.cunyBUSWsIe
Looks fantastic. I have enough to read to last me till the end of my trial period now :)

I find it puzzling that the editor doesn't feature that kind of functionality but it looks like you you have done an amazing job with the plug-in. Thank you.

Re: Auto-complete

Posted: Wed May 23, 2012 6:37 pm
by mwieder
I'm managing and maintaining the glx2 open-source project, but thanks for the original code should really go to Jerry Daniels.

Re: Auto-complete

Posted: Wed May 23, 2012 6:41 pm
by c.cunyBUSWsIe
Then thank you both. Really useful tool.