A VS Code extension for interacting with an Elixir IEx session.
- Starts an IEx session with
iex -S mix. - Allows sending
recompile()to the IEx session. - Allows sending selected text (or current line) from the editor to the IEx session.
- Allows clearing the IEx session.
- Allows adding extra params to the IEx session start
| Shortcut or command | Description |
|---|---|
| ctrl+x ctrl+x | Starts a session (or opens it's terminal in case it's been open) |
| ctrl+x c | Recompiles project |
| ctrl+x . | Evaluates current line or current selection |
| ctrl+x backspace | Starts a session |
To configure more options to IEx session start, look for "Configure IEx Parameters" under "Elixir REPL" category.
Firstly install vsce globally:
npm install -g @vscode/vsceInstall project's deps:
npm installRun build & package (compilation runs automatically):
vsce packageAfter that, you should find the vsix file in the root, which you can install:
code --install-extension my-file.vsix