使用linux终端+emacs打造erlang开发环境

一个好的开发环境对软件开发有很好的帮助,使用java的时候基本用eclipes,感觉还可以,不过
erlang好像没有特别好的开发集成环境,只能自己动手打造一个了。

  1. 终端(putty)
    终端颜色设置:(有颜色差异编译erlang代码看起来比较舒服)
        settings->windows->colours-use system colours

     2.  emacs扩展

 

      wb-line (显示行号)

 

     下载和配置 :http://homepage1.nifty.com/blankspace/emacs/elisp.html

 

    2.2  erlang+distel

       详细见:http://bc.tech.coop/blog/070528.html

       设置断点有点问题,需要注释掉 distel /elisp/edb.el中的两行代码,下面两行

 

;;  (unless (edb-module-interpreted-p module)
;;    (error "Module is not interpreted, can't set breakpoints."))
 

       原因未知

   2.3  eflymake(检测错误)

     详细见: http://www.emacswiki.org/emacs/FlymakeErlang

   2.4 autocomplete+yanippet+etags

    详细见:http://cx4a.org/software/auto-complete/manual.html#ac-dictionary- directories

     需要在autocomplete.el--> defcustom ac-modes 方法中加入 erlang-mode

 

 

 一个基本的erlang开发环境就差不多了,编辑,自动补全,debug功能都有了,上个图,

emacs开发环境emacs开发环境

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值