Question

After I type gen_ and then type a Tab in erlang shell, I get gen_server, gen_event, but I don't get a gen_tcp. How can I use gen_tcp in Erlang shell?

Était-ce utile?

La solution

A module has to be loaded in the node in order to show up in the autocompletion. So if you type l(gen_tcp). in the shell you will be able to use tab completion for gen_tcp.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top