设置Erlang开发环境

时间:2022-06-01 13:00:28

I'm interested in looking at Erlang and want to follow the path of least resistance in getting up and running.

我有兴趣看看Erlang并希望在启动和运行时遵循阻力最小的路径。

At present, I'm planning on installing Erlang R12B-3 and Erlide (Eclipse plugin). This is largely a Google-result-based decision. Initially this will be on a Windows XP system, though I am likely to reproduce the environment on Ubuntu shortly after.

目前,我正计划安装Erlang R12B-3和Erlide(Eclipse插件)。这主要是基于Google结果的决策。最初这将是在Windows XP系统上,虽然我可能很快就会在Ubuntu上重现环境。

Is there a significantly better choice? Even if it is tied to one platform.

有明显更好的选择吗?即使它绑定到一个平台。

Please share your experiences.

请分享您的经验。

15 个解决方案

#1


20  

I highly recommend the Erlang mode shipped with the standard Erlang distribution. I've put together a "works out of the box" Emacs configuration which includes:

我强烈推荐标准Erlang发行版附带的Erlang模式。我已经整理了“开箱即用”的Emacs配置,其中包括:

  • Syntax highlighting & context-sensitive indentation
  • 语法突出显示和上下文相关缩进

  • Dynamic compilation with on-the-fly error highlighting
  • 具有动态错误突出显示的动态编译

  • Integrated Erlang shell
  • 集成的Erlang shell

  • And more....

You can browse my GitHub repo here:

你可以在这里浏览我的GitHub仓库:

http://github.com/kevsmith/hl-emacs

#2


12  

I've only done a small bit of coding in Erlang but I found the most useful method was just to write the code in a text editor and have a terminal open ready to build my code as I need to (this was in Linux, but a similar idea would work in Windows, I'm sure).

我在Erlang中只做了一点点编码,但我发现最有用的方法就是在文本编辑器中编写代码并打开一个终端,准备好构建我需要的代码(这是在Linux中,但是类似的想法可以在Windows中使用,我敢肯定。

Your question didn't mention it, but if you're looking for a good book on Erlang, try this one by O'Reilly.

你的问题没有提及,但如果你正在寻找一本关于Erlang的好书,请试试O'Reilly的这本书。

#3


8  

You could also try NetBeans there's a very nice Erlang module available: ErlyBird

您还可以尝试使用NetBeans,这是一个非常好的Erlang模块:ErlyBird

  1. Install Erlang: sudo aptitude install erlang
  2. 安装Erlang:sudo aptitude install erlang

  3. Install a recent JDK: sudo aptitute install sun-java6-jdk
  4. 安装最近的JDK:sudo aptitute install sun-java6-jdk

  5. Download and install (the smallest) NetBeans edition (e.g. the PHP one): www.netbeans.org/downloads
  6. 下载并安装(最小的)NetBeans版本(例如PHP版本):www.netbeans.org/downloads

  7. download the erlang module ErlyBird: sourceforge.net/projects/erlybird
  8. 下载erlang模块ErlyBird:sourceforge.net/projects/erlybird

  9. manually install the modules via NetBeans
  10. 通过NetBeans手动安装模块

ErlyBird features:

  • syntax checking
  • syntax highlighting
  • auto-completion
  • pretty formatter
  • occurrences mark
  • brace matching
  • indentation
  • code folding
  • function navigator
  • go to declaration
  • 去宣言

  • project management
  • Erlang shell console
  • Erlang shell控制台

#4


6  

I'm using Erlang in a few production systems personally as well at the office. For client side testing, documentation and development I use a MacBook Pro as the OS/platform and TextMate with the Erlang bundle as an editor.

我在办公室里亲自在一些生产系统中使用Erlang。对于客户端测试,文档和开发,我使用MacBook Pro作为OS /平台,使用带有Erlang包的TextMate作为编辑器。

For sever side development and deployment we use RHEL 4.x/5.x in production and for editing I use VIM. Personally, I've got 4 machines (slices on slicehost.com) running debian using Erlang for a few websites and jobs.

对于服务器端开发和部署,我们在生产中使用RHEL 4.x / 5.x进行编辑,我使用VIM。就个人而言,我有四台机器(slicehost.com上的切片)使用Erlang运行debian来处理一些网站和工作。

I try to go with the smallest 'engineering environment possible', usually the one with the fewest dependancies from apt or yum.

我尝试使用最小的“可能的工程环境”,通常是apt或yum中依赖性最小的工程环境。

#5


5  

To add to the Emacs suggestions, I would also recommend that you look at the advantages of distel when running the Emacs erlang-mode.

要添加到Emacs建议,我还建议您在运行Emacs erlang模式时查看distel的优点。

#6


4  

You coud also try a virtual server on demand service like this one from CohesiveFT

您还可以尝试像CohesiveFT这样的虚拟服务器点播服务

Select the components you want (e.g. erlangrb12 + yaws + mysql + erlyweb) and it will build a vm image for you to download or to put onto ec2.

选择你想要的组件(例如erlangrb12 + yaws + mysql + erlyweb),它将构建一个vm图像供你下载或放到ec2上。

Rolling you own locally is quite straightforward too if you follow the instructions in the pragmatic programmers book Programming Erlang

如果按照实用程序员编写的“编程Erlang”中的说明,在本地滚动自己也非常简单

#7


4  

I've seen answers suggesting TextMate here, so I wanted to add another good Mac OSX tool:

我在这里看到了建议TextMate的答案,所以我想添加另一个好的Mac OSX工具:

ErlangXCode plugin to XCode.

ErlangXCode插件到XCode。

I've been using this since I started with Erlang and really do like it.

自从我开始使用Erlang以来,我一直在使用它,并且非常喜欢它。

The download link on his blog is broken, here's the real download:

他博客上的下载链接已损坏,这是真正的下载:

http://github.com/JonGretar/erlangxcode/tree/master

#8


2  

Just a quick note:
The Erlang "compiling" process described in Ciaran's post (described for Ubuntu 6.10 btw) can be easily skipped using apt command in any Debian based distro:

快速说明:在任何基于Debian的发行版中,使用apt命令可以轻松跳过Ciaran文章中描述的Erlang“编译”过程(针对Ubuntu 6.10 btw描述):

apt-get install erlang

apt-get install erlang

Do not forget to install these packages if you see it fit:
erlang-doc-html - Erlang HTML document pages
erlang-examples - Some application examples
erlang-manpages - Erlang MAN pages
erlang-mode - editing mode for Emacs

如果您认为合适,请不要忘记安装这些软件包:erlang-doc-html - Erlang HTML文档页面erlang-examples - 一些应用程序示例erlang-manpages - Erlang MAN页面erlang-mode - Emacs的编辑模式

Good Luck!

#9


1  

I like Justin's suggestion, but I'll add to it: this solution is great for learning a language. If you don't rely on something like code-completion, then it forces you to learn the language better. (If you are working with something with a huge API, like Java or Cocoa, then you'll want the code completion, however!)

我喜欢Justin的建议,但我会补充一点:这个解决方案非常适合学习一门语言。如果你不依赖于代码完成之类的东西,那么它会迫使你更好地学习语言。 (如果您正在使用具有巨大API的东西,例如Java或Cocoa,那么您将需要完成代码!)

It's also language-agnostic, and in the case of an interpreted language, particularly one that has an interactive interpreter, you'll probably spend just as much time in the shell/interpreter typing in commands. Even in a large-ish python project, I still work in an editor and 4 or 5 terminal windows.

它也与语言无关,在解释性语言的情况下,特别是具有交互式解释器的语言,您可能会花费同样多的时间在shell / interpreter中输入命令。即使在一个大型的python项目中,我仍然在编辑器和4或5个终端窗口中工作。

So, the trick is more about getting an editor which works for you. I'm not about to suggest one, as that's heading towards evangelism!

所以,诀窍更多的是获得一个适合你的编辑器。我不打算提出一个,因为那是朝向传福音的方向!

#10


1  

I just use Scite. Type something and press f5 to see the results.

我只是用Scite。输入内容并按f5查看结果。

#11


1  

Since you're switching to Ubuntu eventually anyways, I highly recommend using erlang-mode for emacs (which comes bundled with the Erlang distribution). It is officially what all the core developers use and what many other developers use because of the many features it offers you.

既然你最终还是要转向Ubuntu,我强烈建议你使用erlang-mode for emacs(与Erlang发行版捆绑在一起)。它正式是所有核心开发人员使用的,以及许多其他开发人员使用的,因为它为您提供了许多功能。

Installing the Erlang distribution itself should be simple :)

安装Erlang发行版本身应该很简单:)

#12


1  

Just wrote a guide on this on my blog, heres the abridged version:

刚刚在我的博客上写了一篇关于这个的指南,这是简化的版本:

Part 1: Download what needs to be downloaded.

第1部分:下载需要下载的内容。

Download and install the Erlang run-time. Download and install TextPad.

下载并安装Erlang运行时。下载并安装TextPad。

Download a .syn file for Erlang and place it in the system folder of TextPad. For me, this folder was C:\Program Files\TextPad 5\system. I'm not quite sure who did this syn file (the site is in another language), but they did a good enough job.

下载Erlang的.syn文件并将其放在TextPad的系统文件夹中。对我来说,这个文件夹是C:\ Program Files \ TextPad 5 \ system。我不太确定是谁做了这个syn文件(该网站使用的是另一种语言),但是他们做得很好。

Part 2: Set up syntax highlighting.

第2部分:设置语法突出显示。

Open up TextPad. Ensure no files are opened. Go to the 'Configure' menu, and select 'Preferences'. In the preferences window, click 'Document Classes'. There should be a list of currently recognized languages. Click the 'New' button (it is right under the list of languages), and type 'Erlang'. Click apply.

打开TextPad。确保没有打开任何文件。转到“配置”菜单,然后选择“首选项”。在首选项窗口中,单击“文档类”。应该有一个当前认可的语言列表。单击“新建”按钮(它位于语言列表下方),然后键入“Erlang”。单击“应用”

Click the '+' button next to 'Document Classes'. This should expand the list, and Erlang should now be on it. Click Erlang. You should see a list of file extensions associated with Erlang, click 'New', and type '*.erl'.

单击“文档类”旁边的“+”按钮。这应该扩展列表,Erlang现在应该在它上面。单击Erlang。您应该看到与Erlang关联的文件扩展名列表,单击“新建”,然后键入“* .erl”。

Now click the '+' button next to 'Erlang' on the left. This should expand a list of several more menus. Click on 'Syntax'. Click the drop down menu and select erlang.syn. If erlang.syn is not there, then the .syn file was not properly placed.

现在点击左侧“Erlang”旁边的“+”按钮。这应该扩展几个菜单的列表。单击“语法”。单击下拉菜单并选择erlang.syn。如果没有erlang.syn,那么.syn文件没有正确放置。

Feel free to edit some other syntax options to customize TextPad to your liking.

您可以随意编辑其他一些语法选项,以根据自己的喜好自定义TextPad。

Part 3: Compiling from TextPad.

第3部分:从TextPad编译。

Note: as of 12/05/08 there are severe problems with compiling in textpad. The Erlang shell somehow ignores new compilation when it is done in text pad. This is only useful for checking for errors, when you want to actually run the code, compile it in the Erlang Shell.

注意:截至2008年5月12日,在写字板中编译时存在严重问题。当在文本板中完成时,Erlang shell会以某种方式忽略新的编译。这只适用于检查错误,当您想要实际运行代码,在Erlang Shell中编译它时。

In the preferences menu again, click 'tools' on the left.

再次在首选项菜单中,单击左侧的“工具”。

Click the 'Add' button and select 'Program...'. Navigate to the erl5.6.5\erts-5.6.5\bin\ folder and select erlc.exe. Select and single click the new entry in the list to rename it. Click 'Apply'.

点击“添加”按钮,然后选择“计划...”。导航到erl5.6.5 \ erts-5.6.5 \ bin \文件夹并选择erlc.exe。选择并单击列表中的新条目以重命名它。点击“应用”。

Now click the '+' button next to Tools on the left. Select erlc, or whatever you have named the new tool (I named mine 'Compile Erlang'). The parameters field needs to read '$File', and the initial folder field should read '$FileDir'.

现在点击左侧工具旁边的“+”按钮。选择erlc,或任何你命名的新工具(我命名为'Compile Erlang')。参数字段需要读取'$ File',初始文件夹字段应为'$ FileDir'。

#13


1  

I have had good success with Erlide.

我在Erlide取得了很大的成功。

#14


1  

If you use Vim I recommend you Vimerl (http://github.com/jimenezrick/vimerl):

如果您使用Vim,我建议您使用Vimerl(http://github.com/jimenezrick/vimerl):

Features

  • Syntax highlighting
  • Code indenting
  • Code folding
  • Code omni completion
  • 代码全向完成

  • Syntax checking with quickfix support
  • 使用quickfix支持进行语法检查

  • Code skeletons for the OTP behaviours
  • OTP行为的代码框架

  • Uses configuration from Rebar
  • 使用Rebar中的配置

  • Pathogen compatible (http://github.com/tpope/vim-pathogen)
  • 病原体兼容(http://github.com/tpope/vim-pathogen)

#15


0  

From what i've tried (and are still up to do), a good addition to an erlang dev. environment would be a virtual machine running ubuntu/yaws/erlang. Perhaps Erlyweb (erlang/yaws framework) would be nice checking out too.

从我尝试过(并且还在做什么),对erlang dev的一个很好的补充。环境将是运行ubuntu / yaws / erlang的虚拟机。也许Erlyweb(erlang / yaws框架​​)也很好。

Ciaran's posts (this would be the first of his "series") about his erlang install is nice, as he details the steps in setting up the server (and other stuff like xmpp with jabberlang).

Ciaran的帖子(这将是他的第一个“系列”)关于他的erlang安装是很好的,因为他详细介绍了设置服务器的步骤(以及其他东西,如xmpp和jabberlang)。

#1


20  

I highly recommend the Erlang mode shipped with the standard Erlang distribution. I've put together a "works out of the box" Emacs configuration which includes:

我强烈推荐标准Erlang发行版附带的Erlang模式。我已经整理了“开箱即用”的Emacs配置,其中包括:

  • Syntax highlighting & context-sensitive indentation
  • 语法突出显示和上下文相关缩进

  • Dynamic compilation with on-the-fly error highlighting
  • 具有动态错误突出显示的动态编译

  • Integrated Erlang shell
  • 集成的Erlang shell

  • And more....

You can browse my GitHub repo here:

你可以在这里浏览我的GitHub仓库:

http://github.com/kevsmith/hl-emacs

#2


12  

I've only done a small bit of coding in Erlang but I found the most useful method was just to write the code in a text editor and have a terminal open ready to build my code as I need to (this was in Linux, but a similar idea would work in Windows, I'm sure).

我在Erlang中只做了一点点编码,但我发现最有用的方法就是在文本编辑器中编写代码并打开一个终端,准备好构建我需要的代码(这是在Linux中,但是类似的想法可以在Windows中使用,我敢肯定。

Your question didn't mention it, but if you're looking for a good book on Erlang, try this one by O'Reilly.

你的问题没有提及,但如果你正在寻找一本关于Erlang的好书,请试试O'Reilly的这本书。

#3


8  

You could also try NetBeans there's a very nice Erlang module available: ErlyBird

您还可以尝试使用NetBeans,这是一个非常好的Erlang模块:ErlyBird

  1. Install Erlang: sudo aptitude install erlang
  2. 安装Erlang:sudo aptitude install erlang

  3. Install a recent JDK: sudo aptitute install sun-java6-jdk
  4. 安装最近的JDK:sudo aptitute install sun-java6-jdk

  5. Download and install (the smallest) NetBeans edition (e.g. the PHP one): www.netbeans.org/downloads
  6. 下载并安装(最小的)NetBeans版本(例如PHP版本):www.netbeans.org/downloads

  7. download the erlang module ErlyBird: sourceforge.net/projects/erlybird
  8. 下载erlang模块ErlyBird:sourceforge.net/projects/erlybird

  9. manually install the modules via NetBeans
  10. 通过NetBeans手动安装模块

ErlyBird features:

  • syntax checking
  • syntax highlighting
  • auto-completion
  • pretty formatter
  • occurrences mark
  • brace matching
  • indentation
  • code folding
  • function navigator
  • go to declaration
  • 去宣言

  • project management
  • Erlang shell console
  • Erlang shell控制台

#4


6  

I'm using Erlang in a few production systems personally as well at the office. For client side testing, documentation and development I use a MacBook Pro as the OS/platform and TextMate with the Erlang bundle as an editor.

我在办公室里亲自在一些生产系统中使用Erlang。对于客户端测试,文档和开发,我使用MacBook Pro作为OS /平台,使用带有Erlang包的TextMate作为编辑器。

For sever side development and deployment we use RHEL 4.x/5.x in production and for editing I use VIM. Personally, I've got 4 machines (slices on slicehost.com) running debian using Erlang for a few websites and jobs.

对于服务器端开发和部署,我们在生产中使用RHEL 4.x / 5.x进行编辑,我使用VIM。就个人而言,我有四台机器(slicehost.com上的切片)使用Erlang运行debian来处理一些网站和工作。

I try to go with the smallest 'engineering environment possible', usually the one with the fewest dependancies from apt or yum.

我尝试使用最小的“可能的工程环境”,通常是apt或yum中依赖性最小的工程环境。

#5


5  

To add to the Emacs suggestions, I would also recommend that you look at the advantages of distel when running the Emacs erlang-mode.

要添加到Emacs建议,我还建议您在运行Emacs erlang模式时查看distel的优点。

#6


4  

You coud also try a virtual server on demand service like this one from CohesiveFT

您还可以尝试像CohesiveFT这样的虚拟服务器点播服务

Select the components you want (e.g. erlangrb12 + yaws + mysql + erlyweb) and it will build a vm image for you to download or to put onto ec2.

选择你想要的组件(例如erlangrb12 + yaws + mysql + erlyweb),它将构建一个vm图像供你下载或放到ec2上。

Rolling you own locally is quite straightforward too if you follow the instructions in the pragmatic programmers book Programming Erlang

如果按照实用程序员编写的“编程Erlang”中的说明,在本地滚动自己也非常简单

#7


4  

I've seen answers suggesting TextMate here, so I wanted to add another good Mac OSX tool:

我在这里看到了建议TextMate的答案,所以我想添加另一个好的Mac OSX工具:

ErlangXCode plugin to XCode.

ErlangXCode插件到XCode。

I've been using this since I started with Erlang and really do like it.

自从我开始使用Erlang以来,我一直在使用它,并且非常喜欢它。

The download link on his blog is broken, here's the real download:

他博客上的下载链接已损坏,这是真正的下载:

http://github.com/JonGretar/erlangxcode/tree/master

#8


2  

Just a quick note:
The Erlang "compiling" process described in Ciaran's post (described for Ubuntu 6.10 btw) can be easily skipped using apt command in any Debian based distro:

快速说明:在任何基于Debian的发行版中,使用apt命令可以轻松跳过Ciaran文章中描述的Erlang“编译”过程(针对Ubuntu 6.10 btw描述):

apt-get install erlang

apt-get install erlang

Do not forget to install these packages if you see it fit:
erlang-doc-html - Erlang HTML document pages
erlang-examples - Some application examples
erlang-manpages - Erlang MAN pages
erlang-mode - editing mode for Emacs

如果您认为合适,请不要忘记安装这些软件包:erlang-doc-html - Erlang HTML文档页面erlang-examples - 一些应用程序示例erlang-manpages - Erlang MAN页面erlang-mode - Emacs的编辑模式

Good Luck!

#9


1  

I like Justin's suggestion, but I'll add to it: this solution is great for learning a language. If you don't rely on something like code-completion, then it forces you to learn the language better. (If you are working with something with a huge API, like Java or Cocoa, then you'll want the code completion, however!)

我喜欢Justin的建议,但我会补充一点:这个解决方案非常适合学习一门语言。如果你不依赖于代码完成之类的东西,那么它会迫使你更好地学习语言。 (如果您正在使用具有巨大API的东西,例如Java或Cocoa,那么您将需要完成代码!)

It's also language-agnostic, and in the case of an interpreted language, particularly one that has an interactive interpreter, you'll probably spend just as much time in the shell/interpreter typing in commands. Even in a large-ish python project, I still work in an editor and 4 or 5 terminal windows.

它也与语言无关,在解释性语言的情况下,特别是具有交互式解释器的语言,您可能会花费同样多的时间在shell / interpreter中输入命令。即使在一个大型的python项目中,我仍然在编辑器和4或5个终端窗口中工作。

So, the trick is more about getting an editor which works for you. I'm not about to suggest one, as that's heading towards evangelism!

所以,诀窍更多的是获得一个适合你的编辑器。我不打算提出一个,因为那是朝向传福音的方向!

#10


1  

I just use Scite. Type something and press f5 to see the results.

我只是用Scite。输入内容并按f5查看结果。

#11


1  

Since you're switching to Ubuntu eventually anyways, I highly recommend using erlang-mode for emacs (which comes bundled with the Erlang distribution). It is officially what all the core developers use and what many other developers use because of the many features it offers you.

既然你最终还是要转向Ubuntu,我强烈建议你使用erlang-mode for emacs(与Erlang发行版捆绑在一起)。它正式是所有核心开发人员使用的,以及许多其他开发人员使用的,因为它为您提供了许多功能。

Installing the Erlang distribution itself should be simple :)

安装Erlang发行版本身应该很简单:)

#12


1  

Just wrote a guide on this on my blog, heres the abridged version:

刚刚在我的博客上写了一篇关于这个的指南,这是简化的版本:

Part 1: Download what needs to be downloaded.

第1部分:下载需要下载的内容。

Download and install the Erlang run-time. Download and install TextPad.

下载并安装Erlang运行时。下载并安装TextPad。

Download a .syn file for Erlang and place it in the system folder of TextPad. For me, this folder was C:\Program Files\TextPad 5\system. I'm not quite sure who did this syn file (the site is in another language), but they did a good enough job.

下载Erlang的.syn文件并将其放在TextPad的系统文件夹中。对我来说,这个文件夹是C:\ Program Files \ TextPad 5 \ system。我不太确定是谁做了这个syn文件(该网站使用的是另一种语言),但是他们做得很好。

Part 2: Set up syntax highlighting.

第2部分:设置语法突出显示。

Open up TextPad. Ensure no files are opened. Go to the 'Configure' menu, and select 'Preferences'. In the preferences window, click 'Document Classes'. There should be a list of currently recognized languages. Click the 'New' button (it is right under the list of languages), and type 'Erlang'. Click apply.

打开TextPad。确保没有打开任何文件。转到“配置”菜单,然后选择“首选项”。在首选项窗口中,单击“文档类”。应该有一个当前认可的语言列表。单击“新建”按钮(它位于语言列表下方),然后键入“Erlang”。单击“应用”

Click the '+' button next to 'Document Classes'. This should expand the list, and Erlang should now be on it. Click Erlang. You should see a list of file extensions associated with Erlang, click 'New', and type '*.erl'.

单击“文档类”旁边的“+”按钮。这应该扩展列表,Erlang现在应该在它上面。单击Erlang。您应该看到与Erlang关联的文件扩展名列表,单击“新建”,然后键入“* .erl”。

Now click the '+' button next to 'Erlang' on the left. This should expand a list of several more menus. Click on 'Syntax'. Click the drop down menu and select erlang.syn. If erlang.syn is not there, then the .syn file was not properly placed.

现在点击左侧“Erlang”旁边的“+”按钮。这应该扩展几个菜单的列表。单击“语法”。单击下拉菜单并选择erlang.syn。如果没有erlang.syn,那么.syn文件没有正确放置。

Feel free to edit some other syntax options to customize TextPad to your liking.

您可以随意编辑其他一些语法选项,以根据自己的喜好自定义TextPad。

Part 3: Compiling from TextPad.

第3部分:从TextPad编译。

Note: as of 12/05/08 there are severe problems with compiling in textpad. The Erlang shell somehow ignores new compilation when it is done in text pad. This is only useful for checking for errors, when you want to actually run the code, compile it in the Erlang Shell.

注意:截至2008年5月12日,在写字板中编译时存在严重问题。当在文本板中完成时,Erlang shell会以某种方式忽略新的编译。这只适用于检查错误,当您想要实际运行代码,在Erlang Shell中编译它时。

In the preferences menu again, click 'tools' on the left.

再次在首选项菜单中,单击左侧的“工具”。

Click the 'Add' button and select 'Program...'. Navigate to the erl5.6.5\erts-5.6.5\bin\ folder and select erlc.exe. Select and single click the new entry in the list to rename it. Click 'Apply'.

点击“添加”按钮,然后选择“计划...”。导航到erl5.6.5 \ erts-5.6.5 \ bin \文件夹并选择erlc.exe。选择并单击列表中的新条目以重命名它。点击“应用”。

Now click the '+' button next to Tools on the left. Select erlc, or whatever you have named the new tool (I named mine 'Compile Erlang'). The parameters field needs to read '$File', and the initial folder field should read '$FileDir'.

现在点击左侧工具旁边的“+”按钮。选择erlc,或任何你命名的新工具(我命名为'Compile Erlang')。参数字段需要读取'$ File',初始文件夹字段应为'$ FileDir'。

#13


1  

I have had good success with Erlide.

我在Erlide取得了很大的成功。

#14


1  

If you use Vim I recommend you Vimerl (http://github.com/jimenezrick/vimerl):

如果您使用Vim,我建议您使用Vimerl(http://github.com/jimenezrick/vimerl):

Features

  • Syntax highlighting
  • Code indenting
  • Code folding
  • Code omni completion
  • 代码全向完成

  • Syntax checking with quickfix support
  • 使用quickfix支持进行语法检查

  • Code skeletons for the OTP behaviours
  • OTP行为的代码框架

  • Uses configuration from Rebar
  • 使用Rebar中的配置

  • Pathogen compatible (http://github.com/tpope/vim-pathogen)
  • 病原体兼容(http://github.com/tpope/vim-pathogen)

#15


0  

From what i've tried (and are still up to do), a good addition to an erlang dev. environment would be a virtual machine running ubuntu/yaws/erlang. Perhaps Erlyweb (erlang/yaws framework) would be nice checking out too.

从我尝试过(并且还在做什么),对erlang dev的一个很好的补充。环境将是运行ubuntu / yaws / erlang的虚拟机。也许Erlyweb(erlang / yaws框架​​)也很好。

Ciaran's posts (this would be the first of his "series") about his erlang install is nice, as he details the steps in setting up the server (and other stuff like xmpp with jabberlang).

Ciaran的帖子(这将是他的第一个“系列”)关于他的erlang安装是很好的,因为他详细介绍了设置服务器的步骤(以及其他东西,如xmpp和jabberlang)。