Open memoyil opened 6 years ago
First of all, I mean the code completion doesn't work with macros.
Macros defined in my own code. I am using intellij idea. I have an elixir 1.6.5 and erlang 20 sdk assigned to that project.
Can you share a repository that reproduces the problem?
Are the macros defined with defmacro
and defmacrop
in another module, the same module, or indirectly using other macros, such as inside a quote
block?
defmodule Macro.Module do
defmacro example_macro, do: "example"
end
require Macro.Module as: MC
defmodule Example do
def example_method(_params) do
MC.exam.... **This cannot be auto completed or identified**
end
end
Oh, this changes everything. There's no support for :as
on require
in the reference resolver. Only alias
is used to resolve qualifiers currently. We'll change this to a feature request to support require
's as
. I never use it personally, so it's never come up before.
Hi @KronicDeth, how do you prioritize new features? Can we upvote somehow to show interest in particular ones, for example this? :)
Going to need more information than that: