Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

No tab completion after "/ #75

Closed
ipython opened this Issue · 2 comments

3 participants

@ipython

Original Launchpad bug 267596: https://bugs.launchpad.net/ipython/+bug/267596
Reported by: oc-spam66 (O.C.).

Hello,

if "alpha" is a variable, I can use TAB to complete the statement : "2*alpha", but it does not work for the statement "2/alpha" (I need to add a space after "/" so that it works).

Is there a reason for this difference ? Can it be corrected ?

Regards,

O.C.

(ipython 0.8.4)

@takluyver
Owner

I guess the reasoning is that tab completion tries to complete anything with a / as a path, not a Python expression.

@fperez fperez was assigned
@fperez
Owner

Yes, and I honestly don't think we can change that without absurd contortions to disambiguate. There's a limit to how much we can read people's minds in the completer :)

Closing, as I simply don't see anything that can be realistically improved/changed here.

@fperez fperez closed this
@damianavila damianavila referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
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.