Hello,
Im using IEx with MacOS. I can type a module name and press [TAB] key to get an autocompletion list like follows. Is there any way to use [TAB] or other key to make a selection from the autocomplete list with IEx similar to ZSH.
I tried with Arrow Keys as well, but it did not work.

❯ elixir --version
Erlang/OTP 28 [erts-16.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.18.4 (compiled with Erlang/OTP 27)
If you type enough letters to get a unique function name, it will select it.
Enum.s<TAB>
Will give you the list your showed, then type an “h” and hit tab again:
Enum.sh<TAB>
Should give you Enum.shuffle. You need to provide enough of the function so IEx can identify the correct function to complete.
I’m not aware of a way to cycle through the selections.
Ya this works…but really painful
I tend to use LiveBook as a REPL over IEx since it has more convenience features (like function completion and cycling). It’s not built in to Elixir so requires installation. If you’re not already aware of it, take a look and see if it’s something that you might like to use.
https://livebook.dev/
Yeah im aware of it…but this is for application development with phx
The docs don’t mention any way to select autocomplete suggestions: tty - A Command-Line Interface — erts v16.0.2