[erlang-questions] why auto completion not working in "erl -remsh"

tom kelly ttom.kelly@REDACTED
Fri Aug 5 14:15:04 CEST 2011


Hi Wangel,
I think the answer here is that the module "test" is not loaded in the local
node, only in the remote node you've attached to.
You've added the path to its .beam but all the calls to it are executed in
the remote shell, not the local. Because of this it never gets loaded in the
local shell and you can't auto complete its functions.
//Tom


On Fri, Aug 5, 2011 at 9:36 AM, Wanglei <flaboy.cn@REDACTED> wrote:

> in a  "-pa ebin -remsh" shell
>
> I can use test:aaa(),
> but can't type test:a[tab] to auto completion -> test:aaa(
>
> The auto completion only show system-libs modules
>
> "code:rehash()."  can't reslove this problem
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110805/e1bc7d79/attachment.htm>


More information about the erlang-questions mailing list