Fix usage of #iex:break as part of multi-line prompts
Module
IEx
82 changes across 40 versions
Changes by version
Support multi-line prompts (due to this feature, :continuation_prompt and :alive_continuation_prompt are no longer supported as IEx configuration)
Abort pipelines when there is an error in any step along the way
Add IEx.configure(auto_reload: true) to automatically pick up modules recompiled from other operating system processes
Add :dot_iex support to IEx.configure/1
Add report for normal/shutdown exits in IEx
Fix autocompletion of function signatures on Erlang/OTP 26
Do not assume $HOME is set
Force group leader to run as a binary and unicode in IEx
Fix --remsh on Erlang/OTP 25 and earlier
Fix CLI being unable to boot on Windows
Ensure pry works on Erlang/OTP 25 and earlier while IEx is booting
Code.Fragment.surround_context considers surround context around spaces and parens
Make pry opt-in on dbg with --dbg pry
Do not spawn a process to read IO. This fixes a bug where multiline paste stopped working
Do not perform completion for prompts triggered during code evaluation
Support shell history in Erlang/OTP 26+
Evaluate --dot-iex line by line
Add line-by-line evaluation of IEx breakpoints
Disallow short-hand pipe after matches
Fix exports/1 in IEx for long function names
Make sure the --version flag halts IEx
Fix the loss of .iex.exs context after a pry session
Stop evaluator before exiting IEx server to avoid evaluators leaking
Make IEx' parser configurable to allow special commands
Show function signature when pressing tab after the opening parens of a function
If an IEx expression starts with a binary operator, such as |>, automatically pipe in the result of the last expression
Fix auto-completion inside remote shells
Add support for coloring on Windows 10 consoles/shells
Fix tokenizer emitting repeated warnings in the REPL
Ensure --dot-iex is preserved when restarting the evaluator and after shell respawn
Warn on circular file imports when loading default .iex.exs
Allow customization of the continuation prompt on IEx
Exit IEx session if the group leader exits
Allow pry to be used in non-tty terminals
Automatically shut down IEx if we receive EOF
Fix IEx.pry crash when IEx isn't running
Do not crash IEx unexpectedly on System.stop/0
Skip autocompletion of module names that are invalid without being quoted
Skip autocompletion of functions with default arguments with @doc false
Do not start oldshell alongside IEx
Disable ANSI detection for powershell to avoid false positives
Add nl/2 that loads a given module on a list of nodes
Support remote pids/ports with IEx helper i/1
Allow IEX_WITH_WERL to be set on Windows to always run on WERL mode
Display type docs for t(Module.type) and t(Module.type/arity)
Add i/1 helper that prints information about any data type
Show source code snippet whenever there is a request to pry a given process
Do not start apps on recompile helper if --no-start was given
Avoid copying of data when evaluating every expression in IEx
Support IEx.pry with --remsh for remote debugging
Add b/1 helper that shows documentation for behaviour modules and its callback functions
Provide tab completion for aliases and allow aliases like Foo.Bar.Baz to autocomplete even if Foo.Bar is not defined
Provide a pid/3 helper for buildings pids from numbers
Rely only on loaded applications for autocompletion on IEx
Improve autocompletion for Erlang/Elixir based on loaded applications
Set null prompt function in dumb term mode
Support --werl call on Windows
Ensure functions in Kernel.SpecialForms and IEx.Helpers are also auto-completed
Ensure remote shells can be started with --remsh
IEx color configuration expects a list of atoms instead of a string with colors separated by comma
Do not print ANSI sequences on IEx.Helpers.clear/0 if ANSI sequences are not supported
Remove delay when printing data from the an application start callback
Ensure we show a consistent error when we cannot evaluate .iex.exs
Exit signals now exits the IEx evaluator and a new one is spawned on its place
Ensure we don't prune too much stacktrace when reporting failures
Fix an issue where iex.bat on Windows was not passing the proper parameters forward
IEx.Options is deprecated in favor of IEx.configure/1 and IEx.configuration/0
Allow prompt configuration with the :prompt option
Use werl on Windows
The helper m/0 has been deprecated. The goal is to group all runtime statistic related helpers into a single module
IEx now loads the .iex.exs file instead of .iex
Improve error message for IEx.Helpers.r when module does not exist
Ensure c/2 helper works with full paths
Split IEx.Evaluator from IEx.Server to allow custom evaluators
Add support for IEx.pry which halts a given process for inspection
IEx now respects signals sent from the Ctrl+G menu
The r/0 helper has been removed as it caused surprising behaviour when many modules with dependencies were accumulated
Allow for strings in h helper
Helpers r and c can handle erlang sources
Add the clear helper to clear the screen.
Reduce cases where IEx parser can get stuck