[IPython-dev] Patch for paren completion glitch
vivainio at kolumbus.fi
Tue Jul 20 05:21:53 CDT 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
Url : http://projects.scipy.org/pipermail/ipython-dev/attachments/20040720/473eef05/attachment.bin
More information about the IPython-dev