开发者

PySide methods signature in Eclipse/WingIDE/PyCharm?

开发者 https://www.devze.com 2023-04-08 11:45 出处:网络
Is there any way to have the signature of the methods of PySide classes in Eclipse, WingIDE, PyCharm or any Python IDE?

Is there any way to have the signature of the methods of PySide classes in Eclipse, WingIDE, PyCharm or any Python IDE? Currently, it auto-completes the classes and method names, but not the parameters of the methods. All functions are detected as functions without parameters.

PySide methods signature in Eclipse/WingIDE/PyCharm?

I know it's a Python binding of a C++ framework so it's not that easy but is there any way to have the method signatures directly in 开发者_如何学Goan IDE?


I use PyDev (Eclipse plugin) and it works like a charm, also with function signatures.

EDIT:

I'm not 100% sure with C++ extensions, but it should work well if there's a Python wrapper for it. With pure C++ extensions there might be problems, but actually I haven't tried it.


Try running help(some-qt-method) in a Python console, what do you see? Exactly.

As far as I know, the only IDE that handles PyQt / PySide in depth is Eric, and only because it explicitly compiles signatures in its own format for autocompletion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号