Skip to content
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

jabooth
Copy link
Member

@jabooth 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
@patricksnape patricksnape deleted the ipython_tabcomplete branch February 8, 2017 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants