[IPython-dev] IPEP 11: Tab Completion System Refactor

Robert McGibbon rmcgibbo at gmail.com
Mon Mar 11 19:20:51 EDT 2013


Hey,

After talking with Fernando on Friday, I've updated IPEP11. The most substantial change to the document is that we're proposing a modification to the completion messaging protocol (http://ipython.org/ipython-doc/dev/development/messaging.html#complete).

The goal is that each tab completion option be associated with a "kind", e.g: file, directory, object, magic, etc. This will enable non-readline clients to display richer, more contextual information to the user.  Another goal is to simplify the code base. It's pretty messy and incomprehensible now.

At this point, I think that the plan is pretty much fleshed out. Any input would really be appreciated.

-Robert

On Feb 25, 2013, at 8:51 PM, Robert McGibbon wrote:

> Hi,
> 
> I've posted IPEP 11, which is a proposal to refactor the kernel side tab completion machinery. There are two three for refactoring: the first is to provide a richer API for new tab completion matchers to interact with IPython, enabling, for example, projects like PR2701 to be done more cleanly. The second goal is to make the tab completion system less tied to GNU readline and capable of delivering richer contextual information to non-readline frontends like the notebook. The third is to clean up and simplify the existing code.
> 
> https://github.com/ipython/ipython/wiki/IPEP-11%3A-Tab-Completion-System-Refactor
> 
> Any and all thoughts are appreciated.
> 
> -Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130311/8d398de6/attachment.html>


More information about the IPython-dev mailing list