繁体   English   中英

如何在emacs-jedi中使自动完成信息更紧凑?

[英]How to make the auto-complete information more compact in emacs-jedi?

我已经学习了大约一个月的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的自动完成弹出菜单进行比较。 在此输入图像描述

popup.el的拉取请求(emacs-jedi依赖于auto-complete.el和auto-complete.el取决于popup.el)来解决这个问题: https//github.com/auto-complete/popup -EL /拉/ 28

您可能想要观看此拉取请求。 审查过程即将完成。

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


编辑:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM