CodeMirror: Difference between revisions
Tag: gettingstarted edit |
|||
Line 34: | Line 34: | ||
* [[Adobe Brackets]] (code editor) |
* [[Adobe Brackets]] (code editor) |
||
* [http://codebunk.com CodeBunk] (Collaborative Realtime Editor and Compiler) |
* [http://codebunk.com CodeBunk] (Collaborative Realtime Editor and Compiler) |
||
* [http://codepen.io/ CodePen] (Online Code Editor) |
|||
* [https://codio.com/ Codio] (Web IDE) |
* [https://codio.com/ Codio] (Web IDE) |
||
* [http://jsbin.com jsbin.com] (JS playground) |
* [http://jsbin.com jsbin.com] (JS playground) |
Revision as of 21:59, 4 April 2014
Developer(s) | Marijn Haverbeke |
---|---|
Repository | |
Written in | JavaScript |
Platform | Web |
Type | Source code editor |
License | MIT |
Website | codemirror |
CodeMirror is a JavaScript component that provides a code editor in the browser. It has a rich programming API and a focus on extensibility.
History
The first version of the editor was written early 2007, for the console in the Eloquent JavaScript website. The code was first packaged up and released under the name CodeMirror in May 2007. This version was based on the contentEditable
feature of browsers.[1]
In late 2010, the Ace project, another JavaScript-based code editor, pioneered new implementation techniques and demonstrated that it is possible, even in JavaScript, to handle documents with many thousands of lines without degraded performance. This prompted a rewrite of CodeMirror [2] along the same principles. The result was version 2, which no longer relied on contentEditable
and significantly improved performance.
Features
- Syntax highlighting.
- Auto indentation and outdent.
- Handles huge documents (hundreds of thousands of lines) without trouble.
- Customizable key bindings including Vi and Emacs modes.
- A wide range of language modes.[3]
- Add-ons for autocompletion, code folding, integrated linting.
- A broad programming API.
Projects using CodeMirror
- Light Table (experimental IDE)
- Adobe Brackets (code editor)
- CodeBunk (Collaborative Realtime Editor and Compiler)
- CodePen (Online Code Editor)
- Codio (Web IDE)
- jsbin.com (JS playground)
- Google Apps Script
- Eloquent JavaScript (book)
- Emmet (fast XML editing)
- The File Tree (collaborative editor)
- Mozilla's Firefox web console
- NoTex.ch (online text editor for rST et al.)
- ... many others
- Telerik Icenium (hybrid mobile apps development tool)
- My2ndGeneration (Cloud based code generator)
See also
References
- ^ "Implementing a Syntax-Highlighting JavaScript Editor—in JavaScript". 2007-05-24.
- ^ "CodeMirror 2 has entered beta". 2011-02-08.
- ^ CodeMirror list of language modes "CodeMirror list of language modes".
{{cite web}}
: Check|url=
value (help)