Need advice about which tool to choose?Ask the StackShare community!
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.
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.
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
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!
Pros of CodeMirror
- Integrable in your application6
- Better content manipulation methods4
- Easy Custom Mode3
- JavaScript based1
- Easy setup1
Pros of Sublime Text
- Lightweight720
- Plugins652
- Super fast641
- Great code editor468
- Cross platform442
- Nice UI280
- Unlimited trial260
- Cmd + d is the best command ever153
- Great community92
- Package control, modules46
- Mac OS X support26
- Easy to get started with23
- Monokai22
- Everything you need without the bloat21
- Built in Python21
- Easy18
- Speed14
- Session & edit resuming12
- Package Control10
- Well Designed9
- Multiple selections8
- ALT + CMD + DOWN is the best command ever7
- Nice7
- Fast, simple and lightweight7
- It's easy to use, beautiful, simple, and plugins rule5
- So futuristic and convenient5
- ALT + F3 the best command ever5
- Great5
- Find anything fast within entire project4
- Easy to use4
- Free4
- Simple and clean design4
- Hackable3
- Pretty3
- UI + plugins3
- Sublime Merge (Git Integration)3
- Totally customizable2
- Color schemes and cmd+d2
- Material theme best theme forever2
- Const0
Sign up to add or upvote prosMake informed product decisions
Cons of CodeMirror
Cons of Sublime Text
- Steep learning curve8
- Everything7
- Flexibility to move file4
- Number of plugins doing the same thing4
- Doesn't act like a Mac app4
- Not open sourced3
- Don't have flutter integration2
- Forces you to buy license2