Skip to content

Ordering supplied by __dir__ is ignored in completions #10671

@jlstevens

Description

@jlstevens

This screenshot shows the output of IPython.sys_info() and demonstrates the issue I am having:

image

In short, tab-completion is not cycling/displaying possible completions in the order suggested by __dir__ . I believe this has been an issue for a couple of versions now but it was correctly respected in older IPython versions.

Is there a fix planned for this issue? Alternatively, perhaps I can do something extra to either (1) force the completions to use the explicit ordering supplied by __dir__ or (2) enforce alphabetical sorting of the suggestions so that capitalized names are listed before lowercase ones?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions