我已经学习python大约一个月了,我使用emacs24.3和jedi来编写python代码。“绝地武士”效果很好,我非常喜欢它。但是,我想让自动完成菜单更紧凑:

我们可以看到,由于自动完成菜单太长,自动完成信息有一些冗余,并隐藏了文档信息。而不是:
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的自动补全弹出菜单,以供比较。

发布于 2013-04-22 18:55:39
有一个popup.el的拉取请求(emacs-jedi依赖于自动完成.el,自动完成.el依赖于popup.el)来解决这个问题:https://github.com/auto-complete/popup-el/pull/28
您可能想要查看此拉取请求。审查过程即将完成。
同时,如果你不想隐藏弹出窗口文档,你可以使用pos-tip.el (http://www.emacswiki.org/emacs/pos-tip.el)
编辑:
我认为让摘要信息更紧凑是一个很好的建议。为什么不在绝地的问题跟踪器上发布一个功能请求:https://github.com/davidhalter/jedi
https://stackoverflow.com/questions/16144812
复制相似问题