[IPython-dev] Patch for paren completion glitch
vivainio at kolumbus.fi
Tue Jul 20 06:21:53 EDT 2004
I managed to make "(foo)bar" completion work for filenames, without
breaking completion for space characters (or anything else I could try
out quickly). It seems to work on Linux at least - haven't tried it on
Windows yet, I thought it might be a good idea to show the patch for
some quick feedback before that.
As you can guess it's brutally hackish, but I figure that's the way it
goes with readline ;-).
It should be trivial to add the functionality for other delimiter chars.
I used shlex.split directly, it should be changef to shlex_split from
magic for bacwards compatibility but I thought I'll do it later on...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3895 bytes
Desc: not available
More information about the IPython-dev