In this episode, we’ll learn how to streamline our Elixir development workflow by customizing our IEx shell with a .iex.exs
file.
3 Likes
Nice! Is there a way to keep tab-autocomplete with aliased modules?
For instance, pressing Tab after iex> App.Repo
gives you a list of functions in the Repo module – but iex does nothing when pressing Tab after iex> Repo
2 Likes
Yes, it should work, but only after a dot:
iex> Repo. #Tab here
aggregate/2 ...
Thanks for watching and hope this helps!
1 Like
Interesting – it doesn’t work for me
I think it may not work on OTP 28.0.x but may work on OTP 28.1 (unverified)
I can confirm tab completion works with Erlang 28.1, on a Mac
Confusion might be related to this issue: IEx.Helpers.recompile() no longer autocompleted during iex -S mix session since OTP28 · Issue #14624 · elixir-lang/elixir · GitHub