julia> module A
module B
f(x) = 1
end
using .B: f
end
Main.A
julia> names(A; all=true, imported=true)
6-element Array{Symbol,1}:
Symbol("#eval")
Symbol("#include")
:A
:B
:eval
:include
Is there a way to discover ~what f
refers to inside A
~ that A
also has a meaning for f
? If you change using .B: f
to import .B: f
, then it's visible.
This appears to be related to a significant performance issue for SymbolServer (which is used by vscode's languageserver indexing machinery), see https://github.com/julia-vscode/SymbolServer.jl/pull/177.
This would also help REPL completions improve a lot:
https://github.com/JuliaLang/julia/blob/fedde78fe610b4f1fad25b723091489b4604c3ab/stdlib/REPL/src/REPLCompletions.jl#L86
Most helpful comment
This would also help REPL completions improve a lot:
https://github.com/JuliaLang/julia/blob/fedde78fe610b4f1fad25b723091489b4604c3ab/stdlib/REPL/src/REPLCompletions.jl#L86