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.

Last Post!

nesimtunc

nesimtunc

Wow! After one week finally it made a correct suggestion :smiley:

tabnine_autocomplete

Where Next?

Popular in Wikis Top

nicbet
Introduction Now that the language is picking up support and maturing nicely, I’d like to start a collection of common and recurring Elix...
New
shavit
To transcode the video there is FFMPEG. On Demand When a user uploads a video, the app renames and copy the file to a path, then call F...
New
OvermindDL1
It was stated at elixir-lang.org blocked in Russia · Issue #6172 · elixir-lang/elixir · GitHub that Mirrors of the primary Elixir website...
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: http...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49134 226
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...
274 42576 114
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

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New