Mac OS X 上的 Clojure 编辑器/IDE 建议

发布于 2024-07-07 13:14:08 字数 1560 浏览 7 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(15

深居我梦 2024-07-14 13:14:09

关于设置 Aquamacs、Slime 和 Clojure,lispcast.com 上有一个截屏视频:

http://www.lispcast.com/drupal/node/79(损坏的链接)

编辑:
这是一个很好的备用截屏视频找到了杰曼。 我已将其添加到我的答案中,因此更加全面。

For setting up Aquamacs, Slime and Clojure, there's a screencast on lispcast.com:

http://www.lispcast.com/drupal/node/79 (broken link)

Edit:
That's a nice alternate screencast you found Jman. I've added it to my answer so it's a bit more comprehensive.

牵强ㄟ 2024-07-14 13:14:09

如果您打算花时间编辑 Lisp 代码而不做太多 Java 工作,那么 Emacs+SLIME 将是最高效的。

Paredit 也是必备的,因为它使得插入无效的 s 表达式几乎变得困难。 这需要一些时间来适应,但绝对是值得的。

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.

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.

靖瑶 2024-07-14 13:14:09

您可以尝试使用 NetBeans封装

You can try NetBeans with Enclojure.

烟酉 2024-07-14 13:14:09

“三大”Java 开发 IDE 之一是 IntelliJ IDEA。 它过去获得的市场份额较少,因为它不像啤酒那样免费。 JetBrains 现在提供 IntelliJ IDEA 社区版。 我自己并不是一个普通的 Mac 用户,但是OS X '我用这个'的人说它也在那里运行。

IDEA 有一个名为 La Clojure 的插件,可直接从“设置”下的插件管理器,使 Clojure 开发变得愉快且高效。

之前,我尝试过

但预计会继续使用 IDEA 和 La Clojure

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' folks say it runs there too.

IDEA has a plugin called La Clojure, available directly from the plugin manager under "Settings," that makes Clojure development pleasant and productive.

Previously, I tried

but anticipate staying with IDEA and La Clojure

人间☆小暴躁 2024-07-14 13:14:09

Rich Hickey 在他的所有演示中都使用 Aquamacs。 他对此发表了评论,称在有人为 Emacs 创建了 Clojure 模式后,他转向了它。 我还创建了 jEdit 的 Clojure 模式

目前,对 Clojure 的工具支持相当有限。 我认为您要么被某些 Emacs 变体所困扰,要么被 jEdit 所困扰。

Rich Hickey uses Aquamacs in 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.

At the moment, tool support for Clojure is pretty limited. I think you're either stuck with some Emacs variant or jEdit.

心作怪 2024-07-14 13:14:09

如果您选择 emacs 路线,我强烈建议使用 clojure-paredit。 Paredit 需要一些时间来适应,但它确实强化了“代码就是数据”的概念。

If you go the emacs route, I highly recommend using clojure-paredit. Paredit takes some getting used to, but it really reinforces the "code is data" notion.

鸵鸟症 2024-07-14 13:14:09

这是一个老问题,但 Clojure 工具的前景已经发生了很大的变化。

现在的选项是:

我个人学会了使用 Emacs 来与 Clojure 一起使用,尽管有些人可能会认为同时学习两件事并不是一个好主意。

此处有一项调查关于 IDE/编辑器的受欢迎程度:

调查结果

Emacs 太棒了!

This is an old question, but the landscape of the Clojure tooling has evolved quite a bit.

Nowadays the options are :

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.

There is a survey here regarding the popularity of IDE/Editors :

survey result

Emacs rocks !

酒浓于脸红 2024-07-14 13:14:09

Emacs 与 Slime 可能是一个不错的选择。 请参阅这篇解释设置的文章

Emacs with Slime may be a good choice. See this article that explains a setup.

时光沙漏 2024-07-14 13:14:09

Emacs Carbon 与 SLIME 和 clojure 模式一起工作就像一个魅力。 我之前尝试过 Aquamacs,感觉它和命令行 emacs 太不一样了。 我真的不喜欢 Terminal.app,经过几个月的斗争,我决定迁移到 Carbon。

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.

挽容 2024-07-14 13:14:09

TextMate 是一个很棒的编辑器,并且有一个 Lisp 捆绑包,足以满足 Clojure 的需要(还有一个正在进行的捆绑包可用 此处)。 我一直使用 TextMate + Lisp 包来编写 Clojure 代码。

TextMate is a great editor and has a Lisp bundle, which will suffice for Clojure (there's also an in-progress bundle available here). I've always used TextMate + the Lisp bundle for writing Clojure code.

迷荒 2024-07-14 13:14:09

我正在使用 Vim for Clojure 并且很享受它。 我安装了 wiki 中提到的 Vim Clojure 插件,并按照其中的说明制作 REPL使用 rlwrap 更加用户友好。

I'm using Vim for Clojure and am enjoying it. I installed the Vim Clojure plugin mentioned in the wiki and also followed the instructions there for making the REPL more user friendly using rlwrap.

国粹 2024-07-14 13:14:09

Light Table 非常棒; 不幸的是,我无法在 Mac 上运行它,因为我被困在 OS X 10.6 上,而它需要 10.7+。

我一直在另一台 Mac 和几台 Windows 计算机上使用 Light Table – 它非常好。

[我曾经帮助过开源项目。]

Light Table is pretty great; unfortunately I can't run it on my Mac because I'm stuck on OS X 10.6 and it requires 10.7+.

I've been using Light Table on another Mac and on several Windows computers – it's pretty nice.

[I used to help out with the open source project.]

后知后觉 2024-07-14 13:14:09

Bill Clementson 已更新了他的设置。

Bill Clementson has updated his setup.

維他命╮ 2024-07-14 13:14:09

您也可以尝试使用 La Clojure 插件的 IntellliJ IDEA。

You may also try IntellliJ IDEA with La Clojure plugin.

赢得她心 2024-07-14 13:14:09

我在 MacOSX 上使用 Clojure 大约 3 个月。 我对 Emacs 非常满意,并且用它来完成更多的任务。 一开始很困难,但现在我想说,学习 emacs 的努力是值得的。
对于 IntelliJ 10,La Clojure 插件已更新,现在它应该可以再次与 Clojure 1.2.0 一起使用。

I use Clojure on MacOSX for about 3 months. I am very happy with Emacs and use it for more an more tasks. The start was quite hard but now i would say it was worth the efforts to learn emacs.
For IntelliJ 10 the La Clojure Plugin has been updated so that it should work now with Clojure 1.2.0 again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文