ProductPromotion
Logo

Elixir

made by https://0x3d.site

GitHub - indiejames/atom-iex: Elixir iex REPL in an Atom tab.
Elixir iex REPL in an Atom tab. Contribute to indiejames/atom-iex development by creating an account on GitHub.
Visit Site

GitHub - indiejames/atom-iex: Elixir iex REPL in an Atom tab.

GitHub - indiejames/atom-iex: Elixir iex REPL in an Atom tab.

iex package

This package provides Elixir developers with the ability to run an Elixir IEx (REPL) session in an Atom window. It has only been tested on OS X and is unlikely to work properly (or at all) on other platforms.

iex Screenshot

Installation

apm install iex

It is highly recommended that you add the key bindings below. These can be customized as desired. They are not set by default to avoid conflicts with other packages.

Features

Aside from typing directly in the IEx session, the plugin provides actions to improve workflow:

  • Reset the project, restarting the application and compiling any files that have changed since the last restart
  • Run all tests in the project
  • Run all tests in the currently open editor
  • Run the test in the open editor in which the cursor resides
  • Execute the currently selected text

These actions depend on mix, so they only work for mix generated projects and require a mix.exs file at the top level.

Key Bindings

Customizing Key Bindings:

'atom-workspace':
  'cmd-alt-l': 'iex:open'
  'cmd-alt-l down': 'iex:open-split-down'
  'cmd-alt-l up': 'iex:open-split-up'
  'cmd-alt-l left': 'iex:open-split-left'
  'cmd-alt-l right': 'iex:open-split-right'
  'cmd-alt-e': 'iex:reset'
  'cmd-alt-a': 'iex:run-all-tests'
  'cmd-alt-p': 'iex:pretty-print'

'atom-text-editor':
  'cmd-alt-h': 'iex:help'
  'cmd-alt-o': 'iex:gotoDefinition'
  'cmd-alt-x': 'iex:run-tests'
  'cmd-alt-j': 'iex:run-test'
  'cmd-alt-b': 'iex:pipe'

Adding these will provide the following:

Key Bindings and Events

key binding event action
cmd + alt + l iex:open Opens new IEx in new tab pane
cmd + alt + l down iex:open-split-up Opens new IEx tab pane in up split
cmd + alt + l right iex:open-split-right Opens new IEx tab pane in right split
cmd + alt + l down iex:open-split-down Opens new IEx tab pane in down split
cmd + alt + l left iex:open-split-left Opens new IEx tab pane in left split
cmd + alt + e iex:reset Stops the application, compiles any changed files with mix, then restarts the application.
cmd + alt + a iex:run-all-tests Run all the test in the project
cmd + alt + x iex:run-tests Run all the tests in the active editor
cmd + alt + j iex:run-test Run the test in which the cursor lies
cmd + alt + h iex:help Print the docstring for the function or module under the cursor
cmd + alt + o iex:gotoDefinition Jump to the definition of the function or module under the cursor
cmd + alt + b iex:pipe Pipe the currently selected text to the REPL and execute it
cmd + alt + p iex:pretty-print Pretty print the last evaluated expression

Fonts

The REPL defaults to using the same font family/size as Atom. Independent settings for the REPL will be available in the next release.

Contributions

This package is originally based on the Term2 Atom package with heavy modifications. Feel free to submit bugs or issue pull requests.

Articles
to learn more about the elixir concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Elixir.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory