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

Closed
NelleV opened this Issue Aug 1, 2011 · 2 comments

Comments

Projects
None yet
3 participants
@NelleV

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                  .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/
@minrk

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Aug 1, 2011

Member

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

Member

minrk commented Aug 1, 2011

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

@takluyver

This comment has been minimized.

Show comment
Hide comment
@takluyver

takluyver Aug 3, 2011

Member

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.

Member

takluyver commented Aug 3, 2011

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 closed this in 1021cbe Sep 15, 2011

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment