Skip to content

Auto-complete datatree paths containing . or ../ #9440

@eni-awowale

Description

@eni-awowale

What is your issue?

Copying over from xarray-contrib/datatree#189

Feature Request: Some form of path auto-completion

The more I play with datatree, the more I realize the huge potential of this package. Amazing work @TomNicholas.

I have been using dt for CMIP6 analysis and one of the things that is still fairly slow for me is to navigate into different specific leaves of the tree. Having some sort of incremental auto-complete of the path like this:

dt.['model/<click tab> --> dt.['model/experiment_a/]

similar to what happens in the bash shell with tab completion would be an absolute killer feature. Most users already know how to navigate this (from their terminal). For massive trees this would speed up the workflow tremendously.

On the other hand I have no idea how complex this is to implement. Just wanted to suggest this feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions