Fix path formatting in generating VSCode settings for Windows compatibility #197
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Hi @sheikh-nv , @vick-yu , I'm reporting an issue I encountered when using
python -m isaacsim --generate-vscode-settingsto create the VS Code configuration, particularly on Windows. Following the Visual Studio Code Support, the generated.vscode/settings.jsoncontains unescaped backslashes in thepython.defaultInterpreterPathandpython.analysis.extraPathsentries.The root cause is
IsaacSim/source/python_packages/isaacsim/__main__.py
Line 123 in 07d8dd4
and
IsaacSim/source/python_packages/isaacsim/__main__.py
Line 128 in 07d8dd4
I understand that Isaac Sim typically does not accept direct contributions via pull requests. Therefore, please feel free to close this PR without merging. This is simply to highlight the issue and provide a ready-to-use solution for your team to consider at your convenience.
Thank you for developing Isaac Sim!
Isaac Sim version
5.0.0
Operating System (OS)
Windows 11
GPU Name
RTX 4080
GPU Driver and CUDA versions
Driver Version: 566.24, CUDA Version: 12.7
Logs
Additional information