JuliaLang/julia
在 GitHub 查看Julia 1.11.6 breaks keyword autocompletion in REPL for structures defined using @kwdef
Open
#59,244 创建于 2025年8月10日
REPLcompletionshelp wantedregression 1.11regression 1.12
仓库指标
- Star
- (48,709 star)
- PR 合并指标
- (平均合并 20天 6小时) (30 天内合并 157 个 PR)
描述
Hi!
In Julia 1.11.5, the following works:
julia> @kwdef struct Test
first = 2
second = 3
end
Test
julia> Test(; fi<TAB>
julia> Test(; first=
i.e., if you press TAB it correctly auto-completes the field name.
In Julia 1.11.6, on the other hand, we have:
julia> @kwdef struct Test
first = 2
second = 3
end
Test
julia> Test(; fi<TAB>
fieldcount fieldname fieldnames fieldoffset fieldtype fieldtypes
filemode filesize fill fill! filter filter!
finalize finalizer finally findall findfirst findlast
findmax findmax! findmin findmin! findnext findprev
first firstindex
I am pretty sure that the correct behavior should be the first one.