[英]How to make the auto-complete information more compact in emacs-jedi?
I have been learning python about a month and I used emacs24.3 with jedi to write python code. 我已经学习了大约一个月的python,我使用emacs24.3和jedi来编写python代码。 The jedi works very well, I like it very much.
绝地非常有效,我非常喜欢。 However, I would like to make the auto-complete menu more compact:
但是,我想让自动完成菜单更紧凑:
We can see that the auto-complete information has some redundance and hide the doc information due to the auto-complete menu is too long.
由于自动完成菜单太长,我们可以看到自动完成信息有一些冗余并隐藏了文档信息。 Instead of:
代替:
array Import: from numpy.core.numeric import array i
array_str Function: numeric.array_str f
array_type Statement: array_type = [{balabalabalaxxxxxxxxxxxxxxxxxxxxxxx }] s
I want something like this: 我想要这样的东西:
array numpy.core.numeric i
array_str numeric.array_str f
array_type [{xxxxxx... }] s
And here is the auto-complete pop menu of PyCharm for comparison. 这里是PyCharm的自动完成弹出菜单进行比较。
There is a pull request for popup.el (emacs-jedi depends on auto-complete.el and auto-complete.el depends on popup.el) to fix this problem: https://github.com/auto-complete/popup-el/pull/28 popup.el的拉取请求(emacs-jedi依赖于auto-complete.el和auto-complete.el取决于popup.el)来解决这个问题: https : //github.com/auto-complete/popup -EL /拉/ 28
You might want to watch this pull request. 您可能想要观看此拉取请求。 The review process is nearly finished.
审查过程即将完成。
For meanwhile, if you don't want to hide popup documentation, you can use pos-tip.el ( http://www.emacswiki.org/emacs/pos-tip.el ) 同时,如果您不想隐藏弹出文档,可以使用pos-tip.el( http://www.emacswiki.org/emacs/pos-tip.el )
Edit: 编辑:
I think making summary information more compact is a good suggestion. 我认为使摘要信息更紧凑是一个很好的建议。 Why not post a feature request in Jedi's issue tracker: https://github.com/davidhalter/jedi
为什么不在Jedi的问题跟踪器中发布功能请求: https : //github.com/davidhalter/jedi
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.