Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Windows 10, VSCode 1.67+, Python 3.6.8, Pyside2 == 5.15.2, shiboken2 == 5.15.2
-
-
45318a2221 (pyside/tqtc-pyside-setup/5.15) 45318a2221 (pyside/tqtc-pyside-setup/tqtc/5.15)
Description
As per description in the summary, I noticed that there is some sort of problems with the stubs generated by Pyside2 that cannot be correctly read by the Pylance extension in Visual Studio Code version 1.67 and above. Using a virtual environment with python 3.6.8 and Pyside2 = 5.15.2 and shiboken2 == 5.15.2, autocompletion doesn't work at all, no suggestions of any kind are shown in VScode.
Oddly enough I noticed that it still indeed work when editing a gui python file obtained through Ppyside2-uic.exe starting from a ui file made with QT designer.
Attachments
Issue Links
- relates to
-
PYSIDE-1415 Make `generate_pyi.py` usable for any binding
- Closed
For Gerrit Dashboard: PYSIDE-2043 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
439264,4 | Fix PyLance + mypy static analysis issues | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |