Ace is an embeddable code editor developed in JavaScript. It matches the features and performance of native editors including Sublime, Vim and TextMate. It could be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project.
It’s very useful if you want to edit code online (e.g. PHP, JavaScript files etc.) through a back-end application that contains code and you need to enhance that editor for a better user experience.
Features include:
- Syntax highlighting for more than 60 languages (TextMate/Sublime Text.tmlanguage files can be imported)
- Over 20 themes (TextMate/Sublime Text .tmtheme files can be imported)
- Automatic indent and outdent
- An optional command line
- Handles large documents (four million lines seems to be the limit!)
- Easy to customize key bindings including vim and Emacs modes
- Search and replace with regular expressions
- Highlight matching parentheses
- Toggle between soft tabs and real tabs
- Shows hidden characters
- Drag and drop text using the mouse
- Line wrapping
- Code folding
- Multiple cursors and selections
- Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
- Cut, copy, and paste functionality
- Source: http://ace.c9.io/