Hacker News new | ask | show | jobs
by denvaar 1751 days ago
A few things I like about IEx:

- Supports tab completion, shortcut keys like ctrl-a/ctrl-e and probably more that I don't ever use.

- Top notch support for unicode and supports color (IO.inspect with [color: true])

- EZ access to docs (Just type h in front of what you want to know about)

- You can recompile your project without leaving the repl (keeping whatever state you have)

- You can access the history of what has been returned using the v function

- Remote shell support (type `h IEx`) to learn more.

---

One thing I don't like: If you get mixed up and forget how many braces or parenthesis you need to close, you get stuck. I usually have to quit iex to get out. There may be a better solution to this that I'm just not aware of

1 comments

There may be a better solution to this that I'm just not aware of

When that happens, I simply enter 'iex> end' which would return a SyntaxError, and start over but without having to restart iex.