Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top