https://github.com/thautwarm/vscode-unitypython is preferred. The whole project is migrated to vscode-unitypython/resources/unitypython-typeshed
.
This work is based on typeshed, and the main IDE target is Pylance.
UnityPython has different builtins and different standard libraries wrapping the .NET standard libraries.
When using UnityPython, clone this repo into your UnityPython game's root directory, and write the following JSON configuration in .vscode/settings.json
:
{
"python.analysis.typeshedPaths": ["unitypython-typeshed"]
}
After implementing new built-in functions at UnityPython, please submit a PR to update this repo as well.
If you develop UnityPython.BackEnd
, you should also clone this project into $UnityPython/UnityPython.BackEnd
.