Good IDE for Elixir [closed]

Solution 1:

There is a great Elixir extension support for Visual Studio Code and there are currently 2 extensions to add the language to the tool, my preference being vscode-elixir. You can add it by hitting ctrl+P then typing "ext install vscode-elixir".

This extension adds rich elixir language support to VS Code including:

  • Syntax Coloring
  • Snippets
  • Intellisense

enter image description here

There is also a sublime integration called ElixirSublime. It has most of the same features. However, it hasn't been updated in many years.

Solution 2:

The Alchemist Elixir Tooling integration Emacs package brings the following functionality so far:

  • Mix integration
  • Compile & Execution of Elixir code
  • Inline code evaluation
  • Inline macro expanding
  • Documentation lookup
  • Definition lookup
  • Powerful IEx integration
  • Smart code completion
  • Elixir project management
  • Phoenix support
  • Integration with company-mode

More infos available here: https://github.com/tonini/alchemist.el/blob/master/README.md

If you have questions you can find me on IRC channel #elixir and #emacs-elixir (nickname: tonini)

Solution 3:

Atom with atom-elixir. An excerpt from the current features (on top of the default Atom goodness, all working out of the box):

  • Autocomplete
  • Go to definition
  • Go to Documentation View
  • Quoted Code view
  • Expand Macro view
  • All features depending on aliases and imports are already supporting the new v1.2 notation.

atom-elixir autocomplete

I'm personally using it together with the vim-mode plugin and it seems like there's no conflicts.

I'm usually an IntelliJ person, but the IntelliJ plugin is still lacking in some of the autocomplete functionality that I'm used to.

Edit: after working with Atom and elixir for about 5 months now I wrote a blog post summarising how I tweaked it to work for me and referencing my entire config.

Solution 4:

I have tried all of well known text editors and corresponding elixir packages.

  • IntelliJ with plugin : No alchemist server integration so it is worse then others. Also IntelliJ is slower to start than other IDE-s and editors.
  • Visual Studio Code : Missing some shortcuts but generally you can Elixir code in this editor if you are already using it for other languages.
  • Sublime Text : Same as VS code, if you are using sublime now than you can use it for Elixir
  • Atom : Very good support for everything except code format (beautify) but that will be fixed soon.
  • Emacs : Best support and package but it is not for the feint of heart if you do not use emacs already.

So if you do not have hard preference for some of this editors choose between Emacs or Atom to code Elixir in.