设置Emacs编程Erlang [英] Setting up Emacs for programming Erlang

查看:99
本文介绍了设置Emacs编程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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆