设置Emacs编程Erlang [英] Setting up Emacs for programming Erlang
问题描述
Emacs是编程Erlang的首选IDE。有很多好的模式(distel,erlware-mode,默认的erlang模式,...) ,但是您为建立专业Erlang开发的Emacs提出了什么建议?
设置erlang模式,如 README ,然后激活Flymake:
(需要'erlang-flymake)
您可以在输入时突出显示警告和错误。
我建议使用最新的Erlang / OTP中的erlang模式发布(R14A,因为我键入这个),无论你通常使用什么版本,因为它演变非常快,现在就像erlware模式,IMHO一样好。
如果您使用Emacs 24或更高版本,我建议从 MELPA 。 'erlang'包跟踪Erlang / OTP Git仓库的'maint'分支,所以它始终是最新的。
Emacs is the IDE of choice for programming Erlang.
There are plenty of good modes (distel, erlware-mode, the default erlang mode,...), but what are your recommendations for setting up Emacs for professional Erlang development?
Set up erlang-mode as described in the README, and then activate Flymake:
(require 'erlang-flymake)
That gives you highlighting of warnings and errors as you type.
I'd recommend using erlang-mode from the latest Erlang/OTP release (R14A as I type this), regardless of what release you normally use, as it evolves quite rapidly and is now just as good as erlware-mode, IMHO.
If you're using Emacs 24 or later, I recommend installing erlang-mode from MELPA. The 'erlang' package tracks the 'maint' branch of the Erlang/OTP Git repository, so it is always reasonably up-to-date.
这篇关于设置Emacs编程Erlang的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!