Github发布了与Sublime非常相似的Atom。甚至一些键盘快捷键,如⌘+ P,⌘+ Shift + P等也是一样的。

Atom和Sublime有什么不同? 它是否包含诸如构建工具、函数定义跳转、文档等IDE特性? 有没有使用Sublime的人收到测试邀请,指出它们之间的区别? 我可以使用Sublime的主题、方案和包吗?就像Sublime可以使用文本伴侣一样。

1

PS:在新标签中打开图像以获得更大的分辨率。


当前回答

Atom是使用Node.js, CoffeeScript和LESS编写的。然后它被包装在WebKit包装器中,该包装器最初只适用于OSX,尽管现在也有Windows版本可用。(Linux版本必须从源代码构建,但Ubuntu用户有一个PPA。)

很多架构和功能都复制自Sublime Text,因为它们都经过了尝试和测试。插件系统的工作原理几乎是一样的,但是通过公开新的api也打开了许多新特性和潜力。

我相信,由于肌肉记忆,快捷键基本上保持不变——人们会记住它们,并能够立即点击Atom。

首选项可以通过GUI来控制,而不是直接编辑JSON,这可能会降低人们开始使用Atom的入门门槛。我自己发现很难导航所有这些,因为在首选项中没有搜索功能。

你可以在##atom- invitation IRC频道上注册一个邀请,或者注册到他们的网站并添加你的电子邮件。第一轮邀请很快就来了。

其他回答

How is Atom different from Sublime? Atom is an open source text editor/IDE, built on JavaScript/HTML/CSS. Sublime Text is a commercial product, built on C/C++ and Python. Comparable to Atom is Adobe Brackets, another open source text editor/IDE built on JavaScript/HTML/CSS. Be minded that this makes Brackets more oriented towards Web development, specially in the front end. Advantages of open source projects are faster rate of development and, of course, price. Does it include IDE features like build tools, function definition jumps, documentations, etc.? The short answer is yes, yes, and yes. The app is completely modular. Open source will give people the freedom to fill the gaps on several of these features. Has anyone using Sublime got a Beta invitation to point out the differences? Advantages of Atom is entry-level hackability, since it's built on the same code that powers Web sites. Advantages of Sublime Text is performance, as it doesn't need to run on top of Node.js, and it's a more mature product, about to reach a stable version 3. There are a long list of minor differences that can be included in the comments (I wish this markdown could be able to draw a table for comparisons, but that's another issue). Because of Atom's rapid turnout, I am afraid some of differences I list here will become outdated over time. Per example, at the time of this writing, Atom is only available on the Macintosh while Sublime Text is already multiplatform. Can I use the themes, schemes and packages from Sublime as is, like Sublime could do with text mate. The short answer is no, but because of Atom's hackability, it will be easy to retool packages from other editors to Atom.

Atom是开源的(到现在已经有几个小时了),而Sublime Text不是。

Atom由Github创建,它包括“git感知”。这是我非常喜欢的功能:

它还突出显示了git树中根据提交状态改变了不同颜色的文件:

以下是两者之间的一些区别:

Atom是开源的(MIT许可证) Sublime Text的单用户许可证价格为70美元。


Atom是用Node.js, CoffeeScript, HTML和LESS编写的。 Sublime Text是用c++编写的,Python用于插件,Objective-C用于Cocoa集成


Atom有一个内置的包管理器* Sublime Text依赖于第三方的包管理解决方案 (Wbond包装控制)


在撰写本文时(05/20/2014),Atom二进制文件仅适用于Mac OS X(10.8或更高版本)。如果你想在Windows或Linux下使用它,你必须自己构建它。更新:现在,有适用于Mac OS X(10.8或更高版本)Windows和Linux的Atom二进制文件。 Sublime Text二进制文件可用于Mac OS X, Windows(可安装或可移植)和Linux(作为.deb或tarball文件)


Atom设置可以通过用户友好界面进行配置,也可以直接通过编辑配置文件进行配置。 Sublime Text仅允许您通过配置文件更改设置。


虽然APM是一个独立的工具,但它是与Atom一起捆绑和自动安装的

我尝试了Atom,它看起来真的很好,但有一个主要问题(至少在0.84版):

它不支持垂直选择Alt+拖动-这是每个现代代码编辑器必须的。