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

NelleV opened this Issue Aug 1, 2011 · 2 comments


None yet

3 participants

NelleV commented Aug 1, 2011

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        
.Private/                  .esd_auth                  .gvfs/                     .pip/                      .sqlite_history
.bash_history              .fetchmailrc               .hplip/                    .pki/                      .ssh/
.bash_logout               .fontconfig/               .index.sql.swp             .presentation.swp          .subversion/
minrk commented Aug 1, 2011

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


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.

@minrk minrk added a commit that closed this issue Sep 15, 2011
@minrk minrk Merge PR #668 (greedy completion)
closes gh-668
closes gh-651
@minrk minrk closed this in 1021cbe Sep 15, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@minrk minrk Merge PR #668 (greedy completion)
closes gh-668
closes gh-651
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment