2013-04-22 89 views
3

我一直在学习python大约一个月,我用emacs24.3和jedi编写python代码。 绝地的作品非常好,我非常喜欢它。但是,我想让自动完成菜单更紧凑: enter image description here 由于自动完成菜单太长,我们可以看到自动完成信息有一些冗余并隐藏了文档信息。 相反的:如何使emacs-jedi中的自动完成信息更紧凑?

array       Import: from numpy.core.numeric import array i 
array_str          Function: numeric.array_str f 
array_type Statement: array_type = [{balabalabalaxxxxxxxxxxxxxxxxxxxxxxx }] s 

我想是这样的:

array    numpy.core.numeric i 
array_str   numeric.array_str f 
array_type    [{xxxxxx... }] s 

这里是比较PyCharm的自动完成弹出菜单。 enter image description here

回答

1

没有为popup.el拉请求(emacs的绝地依赖于自动complete.el和自动complete.el取决于popup.el)来解决这个问题: https://github.com/auto-complete/popup-el/pull/28

你可能想要观看这个拉取请求。审查过程即将完成。

对于同时,如果你不想隐藏弹出式文档,可以使用POS-tip.el(http://www.emacswiki.org/emacs/pos-tip.el


编辑:

我觉得做摘要信息更紧凑是一个很好的建议。为什么不在Jedi的问题跟踪器中发布功能请求:https://github.com/davidhalter/jedi

+0

因为我认为这个请求应该是通用的,所以我不确定这个函数是否已经存在于某个地方。 – Eastsun 2013-04-22 11:17:33