Skip to content

Tab completion problems with cell magics #1767

Description

@fperez

As mentioned by @takluyver in #1732:

One small flaw I've noticed: if you start the Qt console, and type %ti<TAB>, it shows the new %%timeit as an option for tab completion, but it reduces the command at the prompt to the longest common prefix, which is now just %. It ought to be smarter about that. (This isn't specific to Python 3)


While the problem right now appears only in the Qt console, I'm pondering whether we should also change the policy in the terminal, so that the behavior is uniform as it comes from the completer and we don't need custom client-side logic.

I'll work a bit on it and will see if I can come up with something sensible.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions