ibgib

ibgib

Atom Code Editor - General Discussion, Blog Posts, Wiki

Popular Elixir Packages

List of popular Atom.io Elixir Packages. These can be installed via atom’s package center or a command line with apm install [package]:

atom-elixir

atom-elixir-playground

autocomplete-elixir

(@OvermindDL1: love it)

Config:

  • Atom must be opened at a level with a mix.exs file - either umbrella or an application. If opened in a higher repo folder, autocomplete will not work.
  • Be sure to set elixir file path and erlang directory path in the package settings.

build-elixir

elixir-cmd

language-elixir

linter-elixir-credo

(@OvermindDL1: love it)

  • Enables linting as you type(!)
  • TIP: If you are using umbrella application, then a single .credo.exs config file can be placed in the umbrella app’s config folder.

phoenix-elixir-snippets

This contains snippets not only for the phoenix *.ex files (controllers, views, etc.), but also for templates. Very handy if you don’t want to keep typing <%= for ... %> and the like :smile:

phoenix-migrations-navigation-atom

This allows you to quickly open the most recent migration in a phoenix app.

  • Must have Atom opened with the phoenix app at the root.

Related Threads

Most Liked

OvermindDL1

OvermindDL1

The mods (or people promoted to Level 4 I think) can split topics too, but since we cannot, here is my relevant post from there. :slight_smile:

I have installed:

  • atom-elixir
  • atom-elixir-playground (I’m not sure if I’ve ever touched this one yet though)
  • autocomplete-elixir (love it)
  • build-elixir
  • elixir-cmd
  • language-elixir
  • linter-elixir-credo (love it)
  • phoenix-elixir-snippets

I’m not entirely sure all which commands and functionality I use from which, but I like my work-flow.

EDIT: I also use Elm, and the atom-plugins for elm well out-do that for other IDE’s.

OvermindDL1

OvermindDL1

Hmm, it seems to work fine for me (not perfectly instant-appearing, though this is a quite a large project): https://overminddl1.com/screenshots/work/Atom-Elixir-0.gif
Example Usage

I’m just typing random stuff, occasionally have to stop to think of what to type next but it lets you see what is appearing at least. ^.^

ibgib

ibgib

Hah. I was looking into one of the other packages you mentioned, elixir-cmd, and at the bottom of its readme it has:

it is active when the project has a mix file in its root directory

At some point in the past, I started using Atom at the base directory of my repo and not the umbrella app. This has brought back the functions. I wonder if atom-elixir works now.

Edit: Submitted a PR for the readme.

OvermindDL1

OvermindDL1

Heh, yeah almost all atom language packages work by assuming you open the project directory as the root, almost none can work otherwise. :stuck_out_tongue_winking_eye:

ibgib

ibgib

Indeed. But should a newcomer to the ecosystem have to have that kind of special knowledge? I only ask in reference to ease the onboarding process. It’s always obvious once you know the answer!

Where Next?

Popular in Wikis Top

Eiji
At start some definitions: HTTPS (is a protocol for secure communication over a computer network which is widely used on the Internet) -...
New
georgeguimaraes
Hi people, since the new year is coming, I’d like to plan my travels for events in 2017. So, what events (Elixir or FP related) that you...
New
Rich_Morin
I’d like to start a discussion of data serialization formats, in the context of Elixir. The rest of this note is a combination of persona...
New
AstonJ
I’ve noticed we’ve got a few now - wonder if we can compile a list? This is a wiki - anyone at Trust Level 1 can edit :023: Link: This...
New
ibgib
Popular Elixir Packages List of popular Atom.io Elixir Packages. These can be installed via atom’s package center or a command line with ...
New
blackode
This is a wiki - anyone at Trust Level 1 or higher can help keep it updated. Elixir Pocket Syntax Uncommon Logical stuff of Elixir modul...
New
gmile
:httpc HTTP client is part of Erlang standard library, and as such can be easily used in Elixir code too. One particular advantage of usi...
New
jdumont
Guide Using an iPad for web development can be easily split into two main parts: Setting up the iPad as a thin client Working in a remo...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
blackode
Hi and Hello Every Elixirian. After Learning the Elixir basics, I struck then. I have no idea of how to put my Elixir Knowledge in pract...
New

Other popular topics Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New

We're in Beta

About us Mission Statement