Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
NelleV opened this Issue · 2 comments

3 participants

@NelleV

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
Owner

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

@takluyver
Owner

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 issue from a commit
@minrk minrk Merge PR #668 (greedy completion)
closes gh-668
closes gh-651
1021cbe
@minrk minrk closed this in 1021cbe
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@minrk minrk Merge PR #668 (greedy completion)
closes gh-668
closes gh-651
53027f0
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.