3 ms·
Does anyone know why the Atom developers opted to make their own editing component, as opposed to going with CodeMirror? For one thing, CodeMirror is a hell of
by one-more-minute 12y ago
Does anyone know why the Atom developers opted to make their own editing component, as opposed to going with CodeMirror?
For one thing, CodeMirror is a hell of a lot snappier, especially for larger files. I use Light Table a lot (which does use CM) and while Atom is miles ahead UI-wise, LT is just so much smoother.
On top of that, with CodeMirror Atom could support some of LT's more interesting features, like interactive eval and inline results. Could've been such a great combination. (Though maybe their editor could support some of this – is there an API reference somewhere?)
- chr1 12y agoAccording to https://discuss.atom.io/t/why-coffeescript/131/46?u=nightwing https://discuss.atom.io/t/why-coffeescript/131/46?u=nightwin... Atom Development started 6 years ago, but Both Ace (from cloud9) and CodeMirror became really good only in last 1-2 years. For api docs see https://atom.io/docs/api/v0.175.0/TextEditor https://atom.io/docs/api/v0.175.0/TextEditor
- one-more-minute 12y agoAtom itself maybe, but they've recently rewritten the editor component with React.js for performance (that could only have started relatively recently) and it's still slower than CM. Maybe there's a reason for that, but if it's just NIH syndrome that's a real shame. Thanks for the link, btw.