用于 wxpython 的 Pydev-Eclipse 中的自动完成 [英] Autocompletion in Pydev- Eclipse for wxpython

查看:38
本文介绍了用于 wxpython 的 Pydev-Eclipse 中的自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为 pyDev 中的 wx 类激活自动完成功能?我找不到任何提示我进行更改的内容,可以从 PyDev>Preference>Autocompletion 激活此功能.如何从 wx 和其他第三方包等包中获得自动完成功能?

How can I activate autocompletion feature for wx classes in pyDev? I cannot find anything to prompt me to change that will activate this feature from PyDev>Preference>Autocompletion. How can I get autocompletion from packages like wx and other third-party packages?

更新:

我在 pyDev 的配置中添加了 wx 路径,它现在显示 wx 的自动完成.但是,我看不到方法参数和属性.例如,如果我寻找 wx.Button,我只会自动完成以完成编写 Button 但我想知道 wx.Button 所需的参数为 wx.Button(,....,size,pos...) 等.当我按 Ctrl+Space 时,这适用于内置方法的其他方法,但我不知道我应该如何配置以从 wx 和其他第三方包中获取它?

I added wx path in configuration to pyDev and it now shows autocompletion for wx. However, I cannot see the method arguments and properties. For example if I seek for wx.Button, I just get autocompletion to complete writing Button but I want to know the required arguments for wx.Button as wx.Button(,....,size,pos...) etc. This works for the other methods of built-in methods when I press Ctrl+Space but I don't know how should I configure to get that from wx and other third party packages?

推荐答案

关于 wx.Button 的构造函数缺少参数,不幸的是,这是目前预期的.请为 PyDev 创建一个错误报告,指定这一点.

Regarding missing parameters on the constructor for wx.Button, unfortunately that's currently expected. Please create a bug report for PyDev specifying that.

这篇关于用于 wxpython 的 Pydev-Eclipse 中的自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆