New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for ipython tab complete landmarks #780

Merged
merged 1 commit into from Feb 8, 2017

Conversation

Projects
None yet
2 participants
@jabooth
Member

jabooth commented Feb 8, 2017

With IPython it's now possible to customise what keys appear in tab completion for an object.

With this PR, typing landmarks[<TAB> gives:
screenshot 2017-02-07 19 10 30

(Notice this file only has one landmark group, 'LJSON', and it's handily near the top of the list).

If you start typing more of a key name and hit tab then:
screenshot 2017-02-07 19 11 22

You unfortunately currently get a mixture of all globals (LookupError), local paths Library/ in this case) and the valid keys.

Still, this is a way better experience that what we currently have, and it's a trivial addition to menpo to support it.

@patricksnape patricksnape merged commit f7866e6 into menpo:master Feb 8, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
macOS MenpoBot Jenkins build passed
Details

@patricksnape patricksnape deleted the jabooth:ipython_tabcomplete branch Feb 8, 2017

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