Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

No tab completion after "/ #75

Closed
ipython opened this Issue · 2 comments

3 participants

IPython: interactive computing in Python Thomas Kluyver Fernando Perez
IPython: interactive computing in Python

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)

Thomas Kluyver
Owner

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

Fernando Perez fperez was assigned
Fernando Perez
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.

Fernando Perez fperez closed this
Damián Avila 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.