Intellij-elixir: Completion for Aliases to .beam-only Modules

Created on 29 Nov 2016  路  5Comments  路  Source: KronicDeth/intellij-elixir

using 4.6.0

Let me know if you want any more info, not sure what would be helpful

image

would expect to see this - http://elixir-lang.org/docs/stable/elixir/Application.html

Enhancement

Most helpful comment

Works after #574

screen shot 2017-01-01 at 7 44 54 pm

All 5 comments

If you mean the Application from the standard library, then yeah, that makes sense, completion only works for parsable-code and your standard-library is only available in precompiled .beam-files.

This may actually be fairly simple because the rules for Elixir modules: just scan the paths for Elixir.*.beam files and * is the name of the aliases that can be completed. This may be a feature that can be added quicker than completion for functions in .beam-only modules.

Would it be possible to utilize elixirs autcompletion capabilities, since it's already installed on the system?

A project doing this that way is https://github.com/wende/autocomplete-elixir - take a look at https://github.com/wende/autocomplete-elixir/blob/master/lib/alchemide/autocompleter/autocomplete.exs

Edit: A better implementation: https://github.com/tonini/alchemist-server

Works after #574

screen shot 2017-01-01 at 7 44 54 pm

great work man, excited for 4.8 :D I think when this lands, we'll have the nicest completion out of all the various implementations, which is quite an accomplishment!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KronicDeth picture KronicDeth  路  3Comments

KronicDeth picture KronicDeth  路  7Comments

joshuataylor picture joshuataylor  路  3Comments

nhooyr picture nhooyr  路  3Comments

nhooyr picture nhooyr  路  7Comments