0

Autocompletion doesn’t work for Panda3D 1.10.11. in VSCode 1.68.1. Is it possible to solve this problem?

enter image description here

enter image description here

8Observer8
  • 868
  • 10
  • 17

2 Answers2

1

This problem is caused by the lack of .subs files in panda3d package, not vscode. Related problem has been raised in GitHub. Please wait for the update of package.

MingJie-MSFT
  • 5,569
  • 1
  • 2
  • 13
0

unware:

You can download the folder https://github.com/WMOkiishi/types-panda3d/tree/master/src/panda3d-stubs with https://download-directory.github.io/ , name it panda3d-stubs and add the directory containing it to the VSCode's settings.

"python.analysis.extraPaths": [
        "C:\\Users\\user\\Documents\\panda3d\\stubs"
]

For example:

    "python.analysis.extraPaths": [
        "E:\\Libs\\panda3d"
    ]

enter image description here

enter image description here

enter image description here

8Observer8
  • 868
  • 10
  • 17