Skip to content

Julia 1.11.6 breaks keyword autocompletion in REPL for structures defined using @kwdef #59244

@ronisbr

Description

@ronisbr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)completionsTab and autocompletion in the replregression 1.11Regression in the 1.11 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions