wende / autocomplete-elixir

Intelligent Elixir autocompletion provider for Atom autocomplete-plus
MIT License
42 stars 11 forks source link

Doesn't work well with kiex #57

Open jamby opened 8 years ago

jamby commented 8 years ago

https://github.com/taylor/kiex

This package doesn't seem to work well with kiex, the elixir version manager (similar to RVM). I have to put the path to be the exact version.

Example:

image

JakubCzarniecki commented 8 years ago

@jamby Well AFAIK it's to be expected - autocomplete-elixir / autocomplete-erlang will try to use Elixir / Erlang paths if they are specified with a fallback to PATH variable of Atom's environment. Unless you have any elixir / erl binary linked to one of your PATH directories it won't work automatically.

However this should fulfill the above requirement: https://github.com/taylor/kiex#sourcing-elixir-into-your-path

After doing that you can delete elixirPath and erlangHome altogether from your config.cson and it should work like a charm (please ensure you are running the latest version of autocomplete-elixir i.e. v1.5.14 or higher).