سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top