wende / autocomplete-elixir

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

Don't keep failing to find `erl` if path is not correct #47

Open jc00ke opened 8 years ago

jc00ke commented 8 years ago

I was trying to figure out why my battery drained so quickly today (my first full day using Atom) and when I opened up the dev tools console I saw thousands of errors because I had set Erlang Home to /usr/bin/erl not /usr/bin so the package was trying to find /usr/bin/er/erl over and over, hundreds of times a second.

It would be nice if it short circuited. It'd also be nice if either path or home was used, but not both.

Thanks!

rudolfb commented 8 years ago

+1

despairblue commented 8 years ago

It's also taking down atom after a while. Seems that using console.log 10 times a second crashes atom after a while. The console.log()s and console.errors()s should probably be removed. Or only be used if the packages is developed.

philippneugebauer commented 7 years ago

This issue is really annoying, especially since automatically erl is added to the default path on MacOS

wende commented 7 years ago

Unfortunately I don't develop this repository anymore. Drastic changes to atom API made me move back to Spacemacs. I'd gladly give the repository away to some community willing to work on it

philippneugebauer commented 7 years ago

Just out of curiosity: when I switch to https://github.com/msaraiva/atom-elixir I get the same functionality or how do I need to interpret this statement in the readme?

wende commented 7 years ago

@philippneugebauer As far as I know the functionality is very close. @msaraiva did some great job there