Livecode-HTML mode for Coda (Updated)
Posted: Wed Oct 12, 2011 1:26 am
Now you can use the best text Editor out there, Coda - to code your Livecode server.
We have made a Mode for Coda (Mac only -sorry), for those using this amazing software to code web-applications in HTML and Livecode for the Livecode server. For those who knows the PHP-HTML mode buildt into Coda, this mode works the same way. With the Livecode-HTML mode and Coda you'll match any Editor tool out there, and then a little. We added more than 2000 lines of code to get this mode work in good "Coda-style".
Should also work on any SubEthaEdit supported Editor.
Some spesifications:
- ReadMe for easy installation
- Recognizes .rev and .livecode file extentions. (Do not use the .lc file extention in Coda - see note below)
- Recognizes Livecode delimeters in your HTML code (<?rev ?> <?lc ?> or <?livecode ?>)
- Color syntax for code inside livecode delimiters.
- Color syntax for HTML tags.
- Color syntax for Javascript.
- Color syntax for CSS tags.
- Auto-complete for ALL livecode commands etc - updated to cover Livecode version 5.0.1 and server 4.6.4
- Coda Book support - linked to Livecode Online Dictonary.
- Livecode-HTML.seestyle file included (but you don't really need it. If you mess up the color syntax, import it to restore default color syntax.
- and of course, feel free to tweek the colors and font styles to suit your own needs.
Important:
We think we have found a bug in Coda which result in some odd behaviour when you try to save your files with the .lc extention. Using the "Save as..." dialog throws in som extra .lc extentions resulting in file names like "MyFile.lc.lc.lc". If you experience this odd behaviour, avoid using .lc. Instead, use .rev or .livecode. If you don't have this problem, we have it - somewhere in our production pipeline. Panic Software (the Coda-makers) has been informed about this possible bug.
The Mode is well tested over time, but if you encounter any bug, please let me know so I can fix it for future updates.
We have made a Mode for Coda (Mac only -sorry), for those using this amazing software to code web-applications in HTML and Livecode for the Livecode server. For those who knows the PHP-HTML mode buildt into Coda, this mode works the same way. With the Livecode-HTML mode and Coda you'll match any Editor tool out there, and then a little. We added more than 2000 lines of code to get this mode work in good "Coda-style".
Should also work on any SubEthaEdit supported Editor.
Some spesifications:
- ReadMe for easy installation
- Recognizes .rev and .livecode file extentions. (Do not use the .lc file extention in Coda - see note below)
- Recognizes Livecode delimeters in your HTML code (<?rev ?> <?lc ?> or <?livecode ?>)
- Color syntax for code inside livecode delimiters.
- Color syntax for HTML tags.
- Color syntax for Javascript.
- Color syntax for CSS tags.
- Auto-complete for ALL livecode commands etc - updated to cover Livecode version 5.0.1 and server 4.6.4
- Coda Book support - linked to Livecode Online Dictonary.
- Livecode-HTML.seestyle file included (but you don't really need it. If you mess up the color syntax, import it to restore default color syntax.
- and of course, feel free to tweek the colors and font styles to suit your own needs.
Important:
We think we have found a bug in Coda which result in some odd behaviour when you try to save your files with the .lc extention. Using the "Save as..." dialog throws in som extra .lc extentions resulting in file names like "MyFile.lc.lc.lc". If you experience this odd behaviour, avoid using .lc. Instead, use .rev or .livecode. If you don't have this problem, we have it - somewhere in our production pipeline. Panic Software (the Coda-makers) has been informed about this possible bug.
The Mode is well tested over time, but if you encounter any bug, please let me know so I can fix it for future updates.