Skip to content

Ordering supplied by __dir__ is ignored in completions #10671

Open

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.

Activity

  1. added this to the 6.2 milestone on Jul 12, 2017
  2. modified the milestones: 6.2, wishlist on Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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