@doc """
 Provides one helper function that is injected into connecting
 remote nodes to properly handle autocompletion.
 """
 def remsh(node) do
  fn e ->
   case :rpc.call(node, IEx.Autocomplete, :expand, [e]) do
    {:badrpc, _} -> {:no, '', []}
    r -> r
   end
  end
 end
Yes, they would need to be contributed to the Erlang server. :)
There is a callback for auto completion but most things are not even forwarded to IEx. The code, IIRC, is in Erlang’s stdlib app (search around user_drv, edlin, etc)