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

CodeMirror

306
161
+ 1
15
Emacs

1.1K
982
+ 1
285
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 Private StackShare. Sign up for Private StackShare.
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
  • 64
    Vast array of extensions
  • 41
    Have all you can imagine
  • 39
    Everything i need in one place
  • 37
    Portability
  • 31
    Customer config
  • 14
    Your config works on any platform
  • 11
    Perfect for monsters
  • 11
    Low memory consumption
  • 8
    All life inside one program
  • 6
    Extendable, portable, fast - all at your fingertips
  • 3
    Extensible in Lisp
  • 3
    Widely-used keybindings (e.g. by bash)
  • 3
    Runs everywhere important
  • 3
    Enables extremely rapid keyboard-only navigation
  • 2
    Git integration
  • 2
    May be old but always reliable
  • 2
    Powerful UI
  • 2
    Asynchronous
  • 2
    Powerful multilanguage IDE
  • 1
    FOSS Software

Sign up to add or upvote prosMake informed product decisions

Cons of CodeMirror
Cons of Emacs
    Be the first to leave a con
    • 1
      Not default preinstalled in GNU/linux
    • 1
      Hard to learn for beginners

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    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 Private StackShareLearn 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

    +42
    52
    19829
    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.
    Visual Studio Code
    Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
    Sublime Text
    Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
    See all alternatives