7

ESense looks dead; what are your recommendations for Erlang code completion in Emacs? It doesn't have to be fancy (ESense built an index from the Erlang source); even something that just uses Erlang's module_info/0 and module_info/1 functions for introspection of function names would help.

If one isn't available in Emacs, can you recommend one for TextMate?

4 Answers4

4

I've used auto-complete successfully.

and added this to my .emacs file:

(add-to-list 'load-path "~/dev/emacs/auto-complete")
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/dev/emacs/auto-complete/dict")
(ac-config-default)

; ... after loading erlang-mode

(add-to-list 'ac-modes 'erlang-mode)
boorad
  • 91
  • 3
1

Do you know about distel already?

Christian
  • 9,417
  • 1
  • 39
  • 48
0

distel should be able to compete functions names using information from running node

Alex Ott
  • 80,552
  • 8
  • 87
  • 132
-1

I've one working that I use for my own development. Its at,

http://github.com/rajivr/erlang.tmbundle

Feel free to try it and ping me if you have any issues.