macos 真正适合“node.js”开发的 OS X 编辑器(或 IDE)?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10236699/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
OS X editor (or IDE) that is really good for "node.js" development?
提问by BadKnees
I'm an old Emacs user - I've used it for about 10years now. When I switched to Mac I started to use Aquamacs, which is great in many ways.
我是 Emacs 的老用户 - 我已经使用它大约 10 年了。当我切换到 Mac 时,我开始使用Aquamacs,它在很多方面都很棒。
But now most my development work involves Node.js/Express.js (with JavaScript, Jade and Stylus). Unfortunately, emacs has many shortcomings in this regard. Especially when working remotely, with ExpanDriveand MacFUSEmounts.
但现在我的大部分开发工作都涉及 Node.js/Express.js(使用 JavaScript、Jade 和 Stylus)。不幸的是,emacs 在这方面有很多不足。特别是在远程工作时,使用ExpanDrive和MacFUSE安装。
And I really want real code folding.
我真的想要真正的代码折叠。
Is there any editor which is really good for this? Even better is there any IDE for Mac (at all)?
有没有真正适合这个的编辑器?更好的是有任何适用于 Mac 的 IDE(根本没有)?
Thanks
谢谢
采纳答案by Eric Wendelin
A cheaper and more node-specific alternative to IntelliJ IDEA is Webstorm, also made by Jetbrains.
IntelliJ IDEA 的一个更便宜且更特定于节点的替代方案是Webstorm,它也是由 Jetbrains 制造的。
It has a lot of node goodies like the ability to attach to the node debugger and allow you to step through your JS code. It also has good code folding, which you can invoke with ?^-
to fold and ?^+
to expand.
它有很多节点好东西,比如能够附加到节点调试器并允许您单步执行 JS 代码。它还具有良好的代码折叠功能,您可以调用它?^-
来折叠和?^+
展开。
回答by Arnaud Rinquin
Sublime Text 2is the choice of many. Add some packagesto it with the package manager. Jade, stylus packages available.
Sublime Text 2是许多人的选择。使用包管理器向其中添加一些包。玉石,手写笔包可用。
回答by MK.
If you want a real IDE that works well on Mac OS X I would recommend IntelliJ IDEA. It has a JavaScript debugger and Node.js plugin. If you are looking for something more lightweight than a full-blown IDE, take a look at Sublime Text 2.
如果你想要一个在 Mac OS XI 上运行良好的真实 IDE,推荐 IntelliJ IDEA。它有一个 JavaScript 调试器和 Node.js 插件。如果您正在寻找比成熟的 IDE 更轻量级的东西,请查看 Sublime Text 2。
回答by broesch
You could try TextMate: http://macromates.com/with the following bundles for
您可以尝试 TextMate:http: //macromates.com/使用以下捆绑包
NodeJs: https://github.com/drnic/javascript-node.tmbundle
NodeJs:https: //github.com/drnic/javascript-node.tmbundle
and for Jade: https://github.com/miksago/jade-tmbundle
对于玉:https: //github.com/miksago/jade-tmbundle
For stylus you have to compile the bundle (haven't tried it yet): https://github.com/LearnBoost/stylus/blob/master/docs/textmate.md
对于手写笔,您必须编译包(还没有尝试过):https: //github.com/LearnBoost/stylus/blob/master/docs/textmate.md
There is also Cloud9 ide https://github.com/ajaxorg/cloud9, its actually a webapp, but its open source and can be installed locally (it still runs in the browser, but locally), I really like the debugging features
还有Cloud9 ide https://github.com/ajaxorg/cloud9,它其实是一个webapp,但是它是开源的,可以本地安装(它仍然在浏览器中运行,但在本地),我真的很喜欢调试功能
回答by user2138467
http://www.aptana.com/is great, it has most of the eclipse features...
http://www.aptana.com/很棒,它具有大部分 eclipse 功能...