Skip to content

Code completion: Complete on dictionary keys #3712

Closed

Description

@dpsanders

Feature request: add code completion for dictionaries and dictionary-alikes, so that we can do

  d = {"H": 1, "He": 2}
  d[<TAB>

and get a pop-up of available keys.

This would be great, for example, for the matplotlib.settings (formerly [well, OK, still] called matplotlib.rcParams) object, which is a validated dictionary containing all of the settings for matplotlib plots:

  from matplotlib import rcParams as settings
  settings[<TAB>

Activity

  1. minrk commented on Jul 21, 2013

    @minrk
    Member

    closing as duplicate of #1533

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