Open giordano opened 1 month ago
I just ran again into this by trying to autocomplete in the REPL a Threads.@threads
for loop.
We have an upgrade: also autocompletion of keyword arguments is now broken:
julia> module Issue55518
macro name(expr) :($(esc(expr))) end
const not_really_what_I_wanted = something
f(; x) = x
end
Main.Issue55518
julia> using .Issue55518
julia> Issue55518.f(; x=<TAB>
@name
eval
f
include
not_really_what_I_wanted
Trying to autocomplete the value of the keyword arguments complete only symbols within the module, also those that aren't exported and so you shouldn't even be able to reference them unless you imported them explicitly, which I didn't here.
On 5230d27de9
autocompletes
nothi
tonothing_sentinel
:If I understand it correctly,
ModuleName.@macro symbol<TAB>
autocompletessymbol
insideModuleName
, notMain
:This works correctly in Julia v1.10 and v1.11.0-rc1