wende / autocomplete-elixir

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

Alias and Import #6

Open Host32 opened 9 years ago

Host32 commented 9 years ago

In my local project when i use 'import' and 'alias' with some module, the auto complete for they doesn't works

Ex:

defmodule MyProject.MyModule do
   import MyProject.AnotherModule
   alias MyProject.AliasModule, as: FastAccess

   def my_func do
      FastAccess.func() # here
      func_by_another_module() # and here, the auto complete doesn't works
   end
end

Obs: I use Atom in Windows 8.1

wende commented 9 years ago

Yes. But that's a problem in Elixir itself. I can't do anything about it except for writing the whole thing myself

Check this out https://github.com/elixir-lang/elixir/issues/2519

Host32 commented 9 years ago

wow...

Ok, Thank you :)

wende commented 9 years ago

No problem :) Glad You're using my extension

Cheers

lexmag commented 9 years ago

Hi everyone, the problem with aliases is already fixed there: https://github.com/elixir-lang/elixir/pull/3280. :bowtie:

Mazyod commented 8 years ago

Hmm.. even though I am running Elixir 1.2.2, with the alias stuff fixed and all, the autocomplete doesn't seem to work.