CodeMirror vs Sublime Text

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

CodeMirror

580
230
+ 1
15
Sublime Text

33.1K
27.2K
+ 1
4K
Add tool

CodeMirror vs Sublime Text: 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, Sublime Text is detailed as "A sophisticated text editor for code, markup and prose". 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..

CodeMirror and Sublime Text belong to "Text Editor" category of the tech stack.

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, Sublime Text provides the following key features:

  • Goto Anything
  • Multiple Selections
  • Command Palette

"Integrable in your application" is the primary reason why developers consider CodeMirror over the competitors, whereas "Lightweight" was stated as the key factor in picking Sublime Text.

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

OpenTable, AdRoll, and GoSquared are some of the popular companies that use Sublime Text, whereas CodeMirror is used by Flurry, Treehouse, and Jumplead. Sublime Text has a broader approval, being mentioned in 1399 company stacks & 1309 developers stacks; compared to CodeMirror, which is listed in 24 company stacks and 11 developer stacks.

Decisions about CodeMirror and Sublime Text
Kamaleshwar BN
Senior Software Engineer at Pulley · | 12 upvotes · 1.3M views

Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.

Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.

See more
Andrey Ginger
Managing Partner at WhiteLabelDevelopers · | 3 upvotes · 494.5K views

Since communication with Github is not necessary, the Atom is less convenient in working with text and code. Sublim's support and understanding of projects is best for us. Notepad for us is a completely outdated solution with an unacceptable interface. We use a good theme for Sublim ayu-dark

See more
Simon Ibssa
Student at California Polytechnic State University, San Luis Obispo · | 2 upvotes · 1.2M views

I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CodeMirror
Pros of Sublime Text
  • 6
    Integrable in your application
  • 4
    Better content manipulation methods
  • 3
    Easy Custom Mode
  • 1
    JavaScript based
  • 1
    Easy setup
  • 720
    Lightweight
  • 652
    Plugins
  • 641
    Super fast
  • 468
    Great code editor
  • 442
    Cross platform
  • 280
    Nice UI
  • 260
    Unlimited trial
  • 153
    Cmd + d is the best command ever
  • 92
    Great community
  • 46
    Package control, modules
  • 26
    Mac OS X support
  • 23
    Easy to get started with
  • 22
    Monokai
  • 21
    Everything you need without the bloat
  • 21
    Built in Python
  • 18
    Easy
  • 14
    Speed
  • 12
    Session & edit resuming
  • 10
    Package Control
  • 9
    Well Designed
  • 8
    Multiple selections
  • 7
    ALT + CMD + DOWN is the best command ever
  • 7
    Nice
  • 7
    Fast, simple and lightweight
  • 5
    It's easy to use, beautiful, simple, and plugins rule
  • 5
    So futuristic and convenient
  • 5
    ALT + F3 the best command ever
  • 5
    Great
  • 4
    Find anything fast within entire project
  • 4
    Easy to use
  • 4
    Free
  • 4
    Simple and clean design
  • 3
    Hackable
  • 3
    Pretty
  • 3
    UI + plugins
  • 3
    Sublime Merge (Git Integration)
  • 2
    Totally customizable
  • 2
    Color schemes and cmd+d
  • 2
    Material theme best theme forever
  • 0
    Const

Sign up to add or upvote prosMake informed product decisions

Cons of CodeMirror
Cons of Sublime Text
    Be the first to leave a con
    • 8
      Steep learning curve
    • 6
      Everything
    • 4
      Flexibility to move file
    • 4
      Number of plugins doing the same thing
    • 4
      Doesn't act like a Mac app
    • 3
      Not open sourced
    • 2
      Don't have flutter integration
    • 2
      Forces you to buy license

    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 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.

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

    What companies use CodeMirror?
    What companies use Sublime Text?
    See which teams inside your own company are using CodeMirror or Sublime Text.
    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 Sublime Text?

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

    Blog Posts

    JavaScriptGitHubPython+42
    53
    21847
    What are some alternatives to CodeMirror and Sublime Text?
    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.
    Vim
    Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware.
    See all alternatives