[erlang-questions] distel completion?

Ahmed Ali ahmed.nawras@REDACTED
Tue Dec 16 16:08:58 CET 2008


2008/12/16 Peter Sabaini <peter@REDACTED>:
> On Tuesday 16 December 2008 13:55:28 you wrote:
>> In your .erlang file add your project's code path and it should work.
>
> I've got sth like this in my .erlang:
>
> code:add_patha("/home/sabaini/src/myproject").

I think you need to add distel's ebin code path here. For me,
completion works with all modules.

>
>  -- ie. where my sources are.
>
> I get this error message at the erl shell when trying to complete one of my
> modules' start_link() fun:
>
> =ERROR REPORT==== 16-Dec-2008::14:24:33 ===
> ** Generic server otp_doc terminating
> ** Last message in was {funcs,"delivery","start",[]}
> ** When Server state == {state,"/usr/lib/erlang",file,"-"}
> ** Reason for termination ==
> ** {bad_return_value,no_data}
>
> As a variation I used add_pathz() instead, but no observable change.
>
> Should this work?
>
> Thanks,
> peter.
>
>
>
>> I also find flymake very helpful. Distel rocks!
>>
>> On Dec 16, 2008, at 4:59 AM, Peter Sabaini wrote:
>> > Hi, any distel users here?
>> >
>> > I'm new to distel and like it, one question though -- it seems
>> > distel only
>> > does completion on built-in libraries, is that correct? Is there a
>> > way to get
>> > it to complete my own code also?
>> >
>> > Thanks,
>> > peter.
>> >
>> > _______________________________________________
>> > erlang-questions mailing list
>> > erlang-questions@REDACTED
>> > http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list