Github发布了与Sublime非常相似的Atom。甚至一些键盘快捷键,如⌘+ P,⌘+ Shift + P等也是一样的。
Atom和Sublime有什么不同? 它是否包含诸如构建工具、函数定义跳转、文档等IDE特性? 有没有使用Sublime的人收到测试邀请,指出它们之间的区别? 我可以使用Sublime的主题、方案和包吗?就像Sublime可以使用文本伴侣一样。
1
PS:在新标签中打开图像以获得更大的分辨率。
Github发布了与Sublime非常相似的Atom。甚至一些键盘快捷键,如⌘+ P,⌘+ Shift + P等也是一样的。
Atom和Sublime有什么不同? 它是否包含诸如构建工具、函数定义跳转、文档等IDE特性? 有没有使用Sublime的人收到测试邀请,指出它们之间的区别? 我可以使用Sublime的主题、方案和包吗?就像Sublime可以使用文本伴侣一样。
1
PS:在新标签中打开图像以获得更大的分辨率。
当前回答
另一个区别是Sublime文本是一个闭源项目,而Atom源代码是/将是公开可用的——尽管Github不打算将其作为一个真正的开源项目发布。他们想要提供对代码的访问权限,而不是向贡献者开放代码。
Github公开了代码:http://blog.atom.io/2014/05/06/atom-is-now-open-source.html
其他回答
Atom是开源的(到现在已经有几个小时了),而Sublime Text不是。
我今天刚收到测试邀请,马上试用了亚当。GUI感觉像Sublime,是的,有一些捷径采用了Sublime。
除了上面提到的这些,我还发现了一些不同之处:
Vim mode is not as good as the Vintage mode on Sublime (which is not a fully featured vim either) because the vim package is in an early stage of development. See https://atom.io/packages/vim-mode for detail. As James mention, Atom is written using web tools, so you have access to the stylesheet of the text editor (styles.less) to do whatever appearance changes you want using CSS. There is also an option to change the startup CoffeeScript. Again, because Atom is still in the beta stage, Sublime has much more native plugin packages. However, since Atom is written in Node.js, the Atom official site said you can "choose from over 50 thousand in Node's package repository." (Because I am not a Node.js pro, I haven't look into this feature though) Atom has better Github support out of the box, but Sublime has a several Git packages. Sublime is a paid application unlimited evaluation period. Atom is free at the beta stage but we don't know whether Github wants to charge it or not.
因此,Atom是一个在测试阶段使用web技术构建的文本编辑器。相比之下,Sublime经历了许多不同的迭代。Atom仍然缺少很多Sublime支持的包,所以问题是Atom会赶上Sublime还是会变得更好?Github似乎对这个文本编辑器的未来很有信心,因为它的底层技术很受欢迎,从长远来看,Atom可能会是Sublime的一个很好的替代品。
一个主要的区别是支持“印度字体”,也就是南亚脚本(包括高棉语、老挝语、缅甸语和泰国语等东南亚语言)。此外,对东亚语言(中文、日语、韩语)的支持也更好。这些是已知的错误(实际上是评分最高的错误),已经存在多年了(东亚语言支持似乎以前工作得更好,但现在已经很难使用):
http://sublimetext.userecho.com/topic/117587-thai-language-issue/ http://sublimetext.userecho.com/topic/99013-can-not-show-or-type-chinese-charactor-on-ubuntu-system/
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仍处于测试阶段(在我写这篇文章时是v0.123),但它进展很快。比Sublime快多了。新版本每周发布一次,有时甚至在同一周发布几个版本。在它短暂的生命周期中,它比Sublime发布了更多的版本,后者需要几个月的时间来发布一个新功能或修复一个错误。以下是Atom自beta版发布以来所走过的道路的最新进展:
Sublime has better performance than Atom. Simply because it's written in C++. Atom on the other hand is a web based desktop app built on top of Chromium, and while they take performance close to heart, it will be really hard or even impossible to reach the same speed and responsiveness. Last July Atom began using React and it gave it a nice performance boost but you can still feel the difference. Apart from that, if Atom’s performance issues will not push users away - Sublime better speed up the release cycle, brush up its small UX tweaks, and consider letting in more contributors because this is where Atom is winning. Atom's package ecosystem is also growing really fast, it might not be as big as Sublime's at the moment but I have a feeling that with GitHub at it's back it will keep growing even faster. It probably has the majority of IDE like plug-ins you can think of. A major difference right now is that it can't handle files bigger than 2MB so it's something to keep in mind. The one thing you'll notice first is that the Sublime minimap is gone! Other than that, the first impression is that Atom looks almost the same as Sublime. I wrote a more in depth comparison about it in this blog post. No easy straightforward way to port your Sublime configurations, packages and such as far as I know.