macos Mac OS X 上的 Clojure 编辑器/IDE 建议
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/257333/
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
Clojure editor/IDE recommendations on Mac OS X
提问by Julien Chastang
I am starting to learn the Clojureprogramming language. Are there any recommendations for Clojure editors/IDEs on Mac OS X?
我开始学习Clojure编程语言。对 Mac OS X 上的 Clojure 编辑器/IDE 有什么建议吗?
Update 2009-09-23: The Clojure space has changed tremendously since I originally posted this question. Many of the links below, especially those that refer to clojure-mode with Emacs, are out-of-date. The best Clojure IDE I found was the EnclojureNetbeans plugin which was recently released (2009-08-25).
2009 年 9 月 23 日更新:自从我最初发布这个问题以来,Clojure 空间发生了巨大的变化。下面的许多链接,尤其是那些涉及 Emacs 的 clojure-mode 的链接,已经过时了。我发现的最好的 Clojure IDE是最近发布的EnclojureNetbeans 插件 (2009-08-25)。
Update 2010-04-30: Another very good article on this subject is Clojure IDEs - The Grand Tourby Lau B. Jensen. Also, for my own clojure development, I have actually moved to Emacs / swank-clojure.
2010 年 4 月 30 日更新:关于这个主题的另一篇非常好的文章是Clojure IDEs -Lau B. Jensen的 Grand Tour。此外,对于我自己的 clojure 开发,我实际上已经转移到 Emacs / swank-clojure。
采纳答案by pupeno
You can try NetBeanswith Enclojure.
您可以在Enclojure 中试用NetBeans。
回答by Matt Curtis
For setting up Aquamacs, Slime and Clojure, there's a screencast on lispcast.com:
对于设置 Aquamacs、Slime 和 Clojure,在lispcast.com上有一个截屏视频:
http://www.lispcast.com/drupal/node/79(broken link)
http://www.lispcast.com/drupal/node/79(断开的链接)
Edit:That's a nice alternate screencastyou found Jman. I've added it to my answer so it's a bit more comprehensive.
编辑:这是您找到 Jman的一个不错的替代截屏视频。我已将其添加到我的答案中,因此它更全面一些。
回答by Matt Curtis
Emacs+SLIME is going to be the most productive if you are going to be spending your time editing Lisp code and not doing much Java.
如果您打算花时间编辑 Lisp 代码而不是做太多 Java,那么 Emacs+SLIME 将是最高效的。
Paredit is also a must-have since it makes it almost difficult to insert invalid s-expressions. It takes a bit of getting used to, but it is emphatically worth it.
Paredit 也是必备工具,因为它几乎很难插入无效的 s 表达式。这需要一点时间来适应,但绝对值得。
回答by Carl Smotricz
One of the "big 3" Java development IDEs is IntelliJ IDEA. It used to get less market share because it's not free as in beer. JetBrains is now providing a Community Edition of IntelliJ IDEA. I'm not a regular Mac user myself, but the OS X 'I use this' folkssay it runs there too.
“三大”Java 开发 IDE 之一是 IntelliJ IDEA。它曾经获得较少的市场份额,因为它不像啤酒那样免费。JetBrains 现在提供IntelliJ IDEA的社区版。我自己不是一个普通的 Mac 用户,但OS X '我用这个' 的人说它也在那里运行。
IDEA has a plugin called La Clojure, available directly from the plugin manager under "Settings," that makes Clojure development pleasant and productive.
IDEA 有一个名为La Clojure的插件,可直接从“设置”下的插件管理器中获得,这使 Clojure 开发变得愉快且高效。
Previously, I tried
以前,我试过
- WaterFront, for which "IDE" is IMO a bit of a reach;
- Counterclockwise, a pretty good Eclipse plugin; and
- Enclojure, the NetBeans plugin.
- WaterFront,“IDE”对于 IMO 来说有点触手可及;
- 逆时针,一个很不错的Eclipse插件;和
- Enclojure,NetBeans 插件。
but anticipate staying with IDEA and La Clojure
但预计留在 IDEA 和 La Clojure
回答by Daniel Spiewak
Rich Hickey uses Aquamacsin all of his demos. He has commented about this, saying that he switched to it after someone created a Clojure mode for Emacs. I have also created a Clojure mode for jEdit.
Rich Hickey在他的所有演示中都使用Aquamacs。他对此发表了评论,说是在有人为 Emacs 创建了 Clojure 模式后才切换到它的。我还为 jEdit创建了一个Clojure 模式。
At the moment, tool support for Clojure is pretty limited. I think you're either stuck with some Emacs variant or jEdit.
目前,对 Clojure 的工具支持非常有限。我认为您要么坚持使用某些 Emacs 变体,要么使用jEdit。
回答by user40457
回答by Jazz
回答by nha
This is an old question, but the landscape of the Clojure tooling has evolved quite a bit.
这是一个古老的问题,但 Clojure 工具的格局已经发生了很大的变化。
Nowadays the options are :
现在的选择是:
- Light table, very easy to get started.
- IntelliJ + Cursiveor La Clojure. Someone once recommended me Cursive.
- vim + fireplace. I know some very productive people use it.
- Emacs + CIDERand Paredit, my personal choice. Apparently Rich Hickey uses Aquamacs.
- 轻巧的桌子,非常容易上手。
- IntelliJ + Cursive或La Clojure。有人曾经推荐我草书。
- vim +壁炉。我知道一些非常有生产力的人使用它。
- Emacs的+苹果酒和Paredit,我个人的选择。显然 Rich Hickey 使用Aquamacs。
I personally learnt to use Emacs to use it with Clojure, although some may argue that learning two things at the same time is not a good idea.
我个人学会了使用 Emacs 将它与 Clojure 一起使用,尽管有些人可能会争辩说同时学习两件事并不是一个好主意。
There is a survey hereregarding the popularity of IDE/Editors :
有一个调查这里关于IDE /编辑器的普及:
回答by Phil Cal?ado
Emacs Carbon with SLIME and clojure-mode works like a charm. I tried Aquamacs before and it feels too different from the command line emacs for me. I really don't like Terminal.app and after months fighting against it I decided to migrate to Carbon.
带有 SLIME 和 clojure 模式的 Emacs Carbon 就像一个魅力。之前试过 Aquamacs,感觉和命令行的 emacs 差别太大了。我真的不喜欢 Terminal.app,经过几个月的努力,我决定迁移到 Carbon。
回答by Julien Chastang
I dug around, and found this link to be very useful as well:
我四处寻找,发现这个链接也非常有用:
http://paulbarry.com/articles/2008/07/02/getting-started-with-clojure-and-aquamacs
http://paulbarry.com/articles/2008/07/02/getting-started-with-clojure-and-aquamacs