Skip to content

Autocompletion hints on STAC.Catalog items list freezes the REPL #28

@felixcremer

Description

@felixcremer

When I am loading a large Catalog and I try to access the items list this freezes the REPL after I opened the square brackets.
This is most likely because the Julia autocompletion hints try to access a list of all the keys available in the items dictionary.
I am not sure, whether we can do something about this from our side.

This is on the current main.

	using STAC
    fnfurl = "https://geoservice.dlr.de/eoc/ogc/stac/v1"
    fnfcat = STAC.Catalog(fnfurl)
    fnf = fnfcat["TDM_FNF_50"];
	fnf.items[ # This freezes the REPL 

One can mitigate this a bit by disableing the tab completion hints, then it will only happening if one presses tab after the square bracket

julia> atreplinit() do repl
           if VERSION >= v"1.11.0-0"
               repl.options.hint_tab_completes = false
           end
       end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions