Open andreabedini opened 12 years ago
If you add quotes, it should work, i.e.: ls "foo+b[TAB]
Adding quotes makes no difference to me (I have just tried). I'm using IPython 0.13.
Confirmed on master on Linux and OS X. Any file completion on a string with a character in completer.DELIM
that is not in completer.PROTECTABLES
will exhibit this behavior. Quotes have no effect, because any quotation-based logic only seems to be applied when protected characters are detected.
which would be the desired behavior? "foo+b[TAB]
or directly foo+b[TAB]
?
@mgaitan The latter seems to make more sense intuitively. It seems like the fix is adding "+" to PROTECTABLES = ' ()[]{}?=\\|;:\'#*"^&
to make it PROTECTABLES = ' ()[]{}?=\\|;:\'#*"^&+'
. But that doesn't fix the bug. Suggestions?
not that I care too much about this anymore but it's still present in IPython 2.3.1 :)
I was hoping that this would be fixed in IPython 5 but it's still there :)
Tab completion doesn't work if a file as + sign in its name.