Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VScode doesn't index the IsaacSim extensions #40

Open
ThanasisTs opened this issue Oct 31, 2024 · 1 comment
Open

VScode doesn't index the IsaacSim extensions #40

ThanasisTs opened this issue Oct 31, 2024 · 1 comment

Comments

@ThanasisTs
Copy link

Hi,

after following the instruction on README.md to setup VScode, the extensions of IsaacSim are not indexed by VScode. The reason (according to VScode) is that 'python.analysis.extraPaths' cannot be set when a pyrightconfig.json or pyproject.toml is being used. There is also this relevant issue, which states that we have to add the changes (extra paths in this case) to pyproject.toml.

Is there some other way to fix this?

@JacquesCloete
Copy link

JacquesCloete commented Nov 5, 2024

Hi, I have the same issue.

The (very inelegant) workaround I'm using for now is to append the bottom of pyproject.toml in IsaacLabExtensionTemplate with the absolute paths to the following folders from IsaacLab, as well as the absolute paths to each extension from IsaacSim:

extraPaths = [
    "/absolute_path_to/IsaacLab/source/extensions/omni.isaac.lab_tasks",
    "/absolute_path_to/IsaacLab/source/extensions/omni.isaac.lab",
    "/absolute_path_to/IsaacLab/source/extensions/omni.isaac.lab_assets",
    "/absolute_path_to/miniconda3/envs/env_name/lib/python3.10/site-packages/isaacsim/exts/extension_name",
]

While we wait for this issue to be fixed, if anyone has a better workaround please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants