More and more sites allow code to be edited in the browser... anything from simple templates all ...
More and more sites allow code to be edited in the browser... anything from simple templates all the way up to complete applications integrating both client and server code. The most popular editor for this purpose is probably still <textarea>, which is a terrible code editor (just hit the tab key to see what I mean!)
There’s no excuse for just using <textarea> any more. The Ajax.org Cloud9 Editor (Ace) project was born out of Ajax.org’s Cloud9 IDE cloud-based coding environment and Mozilla’s Bespin/Skywriter project. With this project, we’re creating an easily embeddable, "no compromises" editor.
In our talk, we’ll show off how you can:
Use Ace in your own projects by adding just a couple of lines to your page
Configure Ace to your tastes
Extend Ace with custom features
Along the way, you’ll see a number of Ace’s features that go beyond just syntax highlighting: live syntax checking, highlight uses of variables, easy keyboard navigation (even for vim users!) and more.