Autocomplete Elixir Save Abandoned

Intelligent Elixir autocompletion provider for Atom autocomplete-plus

Project README

PROJECT DEPRECATED BECAUSE OF DRASTIC CHANGES IN ATOM EXTERNAL PROCESS API.

For Elixir autocompletion in Atom head to https://github.com/msaraiva/atom-elixir

Atom intelligent Elixir Autocompletion for Autocomplete+

Image of autocomplete-elixir

Features

  • Intelligent autocompletion of
    • Global modules and functions
    • Local project modules and functions (those which compile successfully)
  • Type hints for
    • Arguments
    • Return types
  • Type aliases replaced with primitive structures they represent
  • Snippets for common structures
  • do/fn -> end highlighting
  • Jump to local function/macro defintion with alt-. and back with alt-,

Installation

Installation is done using Atom package manager or command

apm install autocomplete-elixir

CAUTION: MAKE SURE TO HAVE autocomplete-plus PACKAGE INSTALLED

Incoming features

1.6

  • Jump to definition out of local module

Feel free to suggest additional features at issues page

Common Errors

Package spits out a lot of errors on my OSX

It seems that OSX has a lot of different safe measures which don't cooperate nicely with atom environment.
Make sure you've got both erlang and elixir installed and paths set up in package settings: Image of autocomplete-elixir

For optimal behaviour always start atom from command line instead of Finder.

Failed to spawn command elixir. Make sure elixir is installed and in your PATH

Let me guess. You're using OSX. This happens when starting atom from Finder. Finder-started applications have no access to PATH variable. To go around that make sure to set "Elixir Path" in package configuration to Your absolute elixir executable path or start atom from command line instead.

Required modules

Troubleshooting

  1. Make sure you've got both Elixir and Erlang installed
  2. Make sure you've got both paths set up in settings You can check both things by running: which elixir -> /usr/local/bin/elixir which erl -> /usr/local/bin/erl And insert the whole path of elixir but only folder path of erl Image of autocomplete-elixir
  3. Make sure You've got Elixir-language package installed
  4. Try running atom from the CLI
  5. If functions are not showing up in the auto-complete list, be sure that atom's root directory has your mix.exs file. This can be either your individual application or an umbrella app.
  6. Read existing issues ;)
Open Source Agenda is not affiliated with "Autocomplete Elixir" Project. README Source: wende/autocomplete-elixir
Stars
41
Open Issues
59
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating