VS Code autocomplete not working for pxr (Sdf, UsdLux) and scene.add_default_ground_plane() in Isaac Sim 5.0 (pip install) #266
Unanswered
wndudwkd003
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi NVIDIA team,
I’m using Isaac Sim 5.0 (pip installation) following the official guide:
https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/isaaclab_pip_installation.html
After installation, I also ran:
python -m isaaclab --generate-vscode-settings
Environment:
OS: Ubuntu 22.04 LTS
Python: 3.11 (Conda env)
Editor: VS Code with Pylance
Installation type: pip (isaaclab + isaacsim)
Problem:
In VS Code, autocomplete works correctly for these imports:
However, autocomplete does NOT work for the following:
Notes:
The pxr imports (Sdf, UsdLux, UsdGeom, etc.) work fine at runtime, but VS Code cannot recognize or provide IntelliSense.
scene.add_default_ground_plane() also works when running the script, but Pylance shows no type information or completion.
SimulationApp works both as:
and
but only limited autocomplete appears.
Code example:
Expected behavior:
Autocomplete and type hints should work for:
pxr modules (Sdf, UsdLux, UsdGeom, etc.)
World.scene methods such as add_default_ground_plane()
What I’ve tried:
Verified that /isaac-sim/kit/python is included in python.analysis.extraPaths
Ran python -m isaaclab --generate-vscode-settings
Autocomplete works for core APIs but not for pxr or scene objects
Question:
Is there an official or recommended way to enable full VS Code IntelliSense for USD (pxr) modules and World.scene APIs in the pip version of Isaac Sim 5.0?
Should I manually add stub files or extra paths (like kit/python), or are .pyi stubs planned for these modules?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions