Need advice about which tool to choose?Ask the StackShare community!

CodeMirror

585
230
+ 1
15
Emacs

1.3K
1.2K
+ 1
322
Add tool

CodeMirror vs Emacs: What are the differences?

Developers describe CodeMirror as "In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects". CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation. On the other hand, Emacs is detailed as "The extensible self-documenting text editor". GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.

CodeMirror and Emacs can be categorized as "Text Editor" tools.

Some of the features offered by CodeMirror are:

  • Support for over 60 languages out of the box
  • A powerful, composable language mode system
  • Autocompletion (XML)

On the other hand, Emacs provides the following key features:

  • Content-sensitive editing modes, including syntax coloring, for a variety of file types including plain text, source code, and HTML.
  • Complete built-in documentation, including a tutorial for new users.
  • Full Unicode support for nearly all human languages and their scripts.

"Integrable in your application" is the top reason why over 3 developers like CodeMirror, while over 57 developers mention "Vast array of extensions" as the leading cause for choosing Emacs.

CodeMirror is an open source tool with 18K GitHub stars and 3.92K GitHub forks. Here's a link to CodeMirror's open source repository on GitHub.

According to the StackShare community, Emacs has a broader approval, being mentioned in 99 company stacks & 73 developers stacks; compared to CodeMirror, which is listed in 24 company stacks and 11 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CodeMirror
Pros of Emacs
  • 6
    Integrable in your application
  • 4
    Better content manipulation methods
  • 3
    Easy Custom Mode
  • 1
    JavaScript based
  • 1
    Easy setup
  • 65
    Vast array of extensions
  • 44
    Have all you can imagine
  • 40
    Everything i need in one place
  • 39
    Portability
  • 32
    Customer config
  • 16
    Your config works on any platform
  • 13
    Low memory consumption
  • 11
    Perfect for monsters
  • 10
    All life inside one program
  • 8
    Extendable, portable, fast - all at your fingertips
  • 6
    Enables extremely rapid keyboard-only navigation
  • 5
    Widely-used keybindings (e.g. by bash)
  • 5
    Extensible in Lisp
  • 5
    Runs everywhere important
  • 4
    FOSS Software
  • 4
    Powerful multilanguage IDE
  • 4
    Git integration
  • 4
    May be old but always reliable
  • 3
    Asynchronous
  • 3
    Powerful UI
  • 1
    Huge ecosystem

Sign up to add or upvote prosMake informed product decisions

Cons of CodeMirror
Cons of Emacs
    Be the first to leave a con
    • 4
      So good and extensible, that one can get sidetracked
    • 4
      Hard to learn for beginners
    • 1
      Not default preinstalled in GNU/linux

    Sign up to add or upvote consMake informed product decisions

    What is CodeMirror?

    CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

    What is Emacs?

    GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use CodeMirror?
    What companies use Emacs?
    See which teams inside your own company are using CodeMirror or Emacs.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with CodeMirror?
    What tools integrate with Emacs?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    JavaScriptGitHubPython+42
    53
    21865
    What are some alternatives to CodeMirror and Emacs?
    Ace
    Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application.
    TinyMCE
    It is the most advanced WYSWIYG HTML editor designed to simplify website content creation. The rich text editing platform that helped launch Atlassian, Medium, Evernote, and more.
    Prism
    It is a lightweight, beautiful and extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    See all alternatives