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

Mysterious select box displays when using tab complete #115

Closed
commadelimited opened this issue Aug 29, 2016 · 3 comments
Closed

Mysterious select box displays when using tab complete #115

commadelimited opened this issue Aug 29, 2016 · 3 comments

Comments

@commadelimited
Copy link

Within the past few weeks whenever I tab to display existing properties on an object, I get a scrollable select box instead of the old style "show all properties". I'm not saying this is a bug, but I don't like this behavior and would prefer the old way.

Is this something happening with ipdb or somewhere else? If it is within ipdb, is there a setting to disable this select box and go back to the old style?

@gotcha
Copy link
Owner

gotcha commented Aug 30, 2016

AFAIK, there is nothing special in ipdbto cause that comportment. Can you check if this is sthing from latest IPython releases (by testing with older IPython) ?

@commadelimited
Copy link
Author

@gotcha, after chatting with some of my coworkers, it appears we updated our version of iPython which included this change. Here's the fix for anyone else who comes along:

TerminalInteractiveShell.display_completions : 'column'|'multicolumn'|'readlinelike'
Default: 'multicolumn'

Options for displaying tab completions, 'column', 'multicolumn', and 'readlinelike'. These options are for prompt_toolkit, see prompt_toolkit documentation for more information.

Create a profile with ipython profile create if you don't have one already, then set the above in ~/.ipython/profile_default/ipython_config.py

@gotcha
Copy link
Owner

gotcha commented Aug 31, 2016

Thanks for exploring.

@gotcha gotcha closed this as completed Aug 31, 2016
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

No branches or pull requests

2 participants