CodeMirror

CodeMirror is a JavaScript component that provides a code editor in the browser.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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

edit edit source

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.[2]

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 [3] along the same principles. The result was version 2, which no longer relied on contentEditable and significantly improved performance.

Version 6 was released in 2022.[4][5] The library has been split into a collection of packages,[6][7] and core packages are released independently.[1]

See also

edit edit source

References

edit edit source
  1. ^ a b "CodeMirror Changelog". Retrieved 2 February 2026. Wikipedia revision 1376201260, retrieved 2026-11-19
  2. ^ "Implementing a Syntax-Highlighting JavaScript Editor—in JavaScript". 24 May 2007. Wikipedia revision 1376201260, retrieved 2026-11-19
  3. ^ "CodeMirror 2 has entered beta". 8 February 2011. Wikipedia revision 1376201260, retrieved 2026-11-19
  4. ^ Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0 has been released". Wikipedia revision 1376201260, retrieved 2026-11-19
  5. ^ Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0". Wikipedia revision 1376201260, retrieved 2026-11-19
  6. ^ "CodeMirror 5 to 6 Migration Guide". Retrieved 30 June 2023. Wikipedia revision 1376201260, retrieved 2026-11-19
  7. ^ "CodeMirror System Guide". Retrieved 30 June 2023. Wikipedia revision 1376201260, retrieved 2026-11-19
edit edit source HTML editors Open-source Freeware Commercial
software
Discontinued Helper tools JavaScriptCode analysis Subsets, supersets Transpilers Concepts Debuggers Documentation generators Engines Frameworks Related technologies Package managers Module bundlers Server-side Unit testing frameworks (list) People

Text derived from https://en.wikipedia.org/w/index.php?oldid=1376201260 under CC BY-SA 4.0; modifications have been made.