Skip to content
This repository

Completion doesn't work on element of a list #651

Closed
NelleV opened this Issue August 01, 2011 · 2 comments

3 participants

Varoquaux Min RK Thomas Kluyver
Varoquaux

The auto completion doesn't work on an element of a list. See below::

In [3]: my_list = ['0', 'second element']

In [4]: my_list.
my_list.append   my_list.count    my_list.extend   my_list.index    my_list.insert   my_list.pop      my_list.remove           my_list.reverse  my_list.sort

In [4]: my_list[0].
.ICEauthority              .enthought/                .gtk-bookmarks             .pgadmin3                  .sql_test.py.swp
.Private/                  .esd_auth                  .gvfs/                     .pip/                      .sqlite_history
.bash_history              .fetchmailrc               .hplip/                    .pki/                      .ssh/
.bash_logout               .fontconfig/               .index.sql.swp             .presentation.swp          .subversion/
Min RK
Owner

I don't think we've ever had this, but it would definitely be cool.

Thomas Kluyver
Collaborator

I had a feeling we had this around somewhere, and someone's just updated it - see PR #668. It's called GreedyCompleter, but it's not enabled by default, because of the risk that you could change state just by pressing tab. Have a go with the code in that pull request, and see if it works.

Min RK minrk closed this in 1021cbe September 15, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.