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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top