Hi, I’m new to Python GUIs and not new to Python but haven’t used it in a long time. I am using PyCharm for development and I see that there’s no hover docs on any PySide identifiers (other than type signatures) - unlike Python libraries themselves which seem very well documented. Is this simply because PySide doesn’t include any docstrings? (I didn’t find the source code on github - not sure if it’s available.) I noticed the same issue in VSCode.
This sort of documentation is very helpful to me in other languages and frameworks; it’s so much easier than searching APIs online.
Hi @rhywun
PySide6 i C++ library with bindings to python, there is no source code or docstrings (in term of Pycharm way of thinking).
I’m parsonally using Zeal - Offline Documentation Browser
You need go to menu Tools / Docsets and in Available tab search for Qt6
But PySide6 documentation is for C++ so you need be creative to translate to Python, anyway it kind of work.
Is not that bad, with python package there are *.pyi files (kind of headers files for python) with classes and methods, so PyCharm is still able to aout-complete.
Thanks. I did navigate to some *.pyi files (wasn’t sure exactly their purpose) and noted that only the signatures are provided.
To be honest, most of this is not favorite way of coding. I greatly prefer strong typing and more complete docs and tooling but hey, it’s fun to try something new