No tab completion after "/ #75

Closed
ipython opened this Issue May 10, 2010 · 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
IPython member

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 Apr 10, 2011
@fperez
IPython member

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 Nov 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment