ostinelli / SublimErl

An Erlang Plugin for Sublime Text 2, which enables code completion and allows you to run tests within the editor itself.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto completion not working for core erlang

hsaid opened this issue · comments

Hello,
Great tool.
I have two projects created from rebar, A, and B. B includes A using libs_dir in rebar.config and I can see function auto complete for A, but only when I open one file from project A. However, when I type gen_server:foo, I don't see gen_server in the auto completion list, not any of its function when I manually type.
I am running on CentOS 6.2 and using Erlang R14 B04.

Any suggestions?

Hi again,
I compared my Erlang_Libs.disasm with the on Github, and mine was about 1.0k compared to the 4.2 MB file you have. I tried to use your files, but the get overwritten. Any suggestions?

thanks

It seems that SublimErl is not able to find the erlang source files. Where are these installed? On an OSX system they are normally under /usr/local/lib/erlang/lib.

It is working now. I fixed the problem by installing R15B01 and built rebar from source.

thanks.

Were you using Erlang you compiled yourself, or from Erlang Solutions?

I inherited a VM and was not sure where the erlang package came from. To fix it, I downloaded R15B01 source and built it. Ditto for rebar.

Ok, can't really do much about this one. Thanks.