Repository navigation
[Tooling] Clean up VS Code configuration and fix debugging - #7940
Merged
Merged
Conversation
StafaH
requested review from
AntoineRichard,
Toni-SM,
hujc7,
kellyguo11,
myurasov-nv and
ooctipus
as code owners
September 22, 2026 04:56
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR consistently narrows VS Code recommendations to Python, Pylance, and Ruff while removing settings associated with the retired C++, spelling, autoDocstring, and ROS tooling from both checkout and external-project templates.
- Design and architecture: The repository-level and generated external-project editor configurations are updated symmetrically, preserving the shared Python/Pylance/Ruff workflow without adding dependencies or changing source-package architecture.
- API: No public Python API, CLI surface, or source package changes. The generated-project editor configuration does change intentionally by dropping obsolete recommendations and settings, while retained Python and Ruff keys remain consistent across both templates; no source-package changelog fragment or migration path is required.
- Implementation: The added Ruff recommendation matches the retained ruff.configuration setting, and the removed settings correspond to tooling no longer recommended by these configurations. Contributors who independently install Spell Right or cSpell will no longer receive the repository-provided spelling configuration, which is an intentional non-blocking tradeoff of the cleanup.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
Collaborator
Author
|
run-ci |
ooctipus
approved these changes
Sep 22, 2026
Launch configurations now run the interpreter recorded by isaaclab --editor so VS Code does not bypass the python.sh wrapper. Update the repository launch and task templates to current commands, JSON-encode the generated interpreter path, and drop deprecated Black, Flake8, and Jedi fallback settings.
StafaH
requested review from
ClemensSchwarke,
fatimaanes and
pbarejko
as code owners
September 22, 2026 17:42
Collaborator
Author
|
run-ci |
StafaH
enabled auto-merge (squash)
September 22, 2026 21:16
StafaH
disabled auto-merge
September 22, 2026 21:17
isaaclab-bot Bot
pushed a commit
that referenced
this pull request
Sep 22, 2026
# Description Clean up the VS Code configuration for the Isaac Lab checkout and generated external projects, and fix the open VS Code debugging and settings-generation bugs. **Recommendations and settings** - Keep the Python and Pylance extensions and recommend the Ruff extension used by the current formatter and linter configuration. - Remove the unused C/C++, ROS, MyST, spelling, Black, and Flake8 recommendations. This also retires the archived `ms-iot.vscode-ros` recommendation that #4402 proposed to replace. - Remove the corresponding dead `.tpp`, Spell Right/cSpell, autoDocstring, and ROS Noetic settings from both settings templates. - Remove the deprecated Black, Flake8, and Jedi settings from the fallback settings written by `isaaclab --editor`. **Debugging (#2238)** - Since Python extension 2024.18.0, VS Code resolves `python.defaultInterpreterPath` wrapper scripts such as `_isaac_sim/python.sh` to the underlying executable, so launch configurations skip Isaac Sim's environment setup. Every launch configuration in both templates now sets `"python": "${config:python.defaultInterpreterPath}"`, the interpreter recorded by `isaaclab --editor`. - Update the repository launch template: use the `debugpy` type instead of the deprecated `python` type, use `connect` for the attach configuration, run training and playback through `isaaclab train`/`play` (the old `scripts/reinforcement_learning/rsl_rl/*.py` paths no longer exist), use the current `Isaac-Reach-Franka` task ID, and document `uv run python -m debugpy` for attach. - Document how to update an existing preserved `launch.json`. **Settings generation (#3965)** - #6644 already moved import paths to `pyrightconfig.json` via `json.dumps`. This PR also JSON-encodes the interpreter path in `.vscode/settings.json` and passes it to `re.sub` without escape processing. Before this change, an interpreter path containing a backslash crashed with `re.error: bad escape \U`. #6757 targets `tools/wheel_builder/res/__main__.py`, which no longer exists. **Tasks** - Replace the deprecated `isaaclab.sh --format` / `isaaclab.bat --format` task with `uv run isaaclab --format`. Fixes #2238 Fixes #3965 Supersedes #4402 and #6757. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## Validation - `uv run python -m pytest source/isaaclab_rl/test/test_template_generator.py` (28 passed). The editor setup test now also runs with a backslash interpreter path and parses the generated settings as JSON; this case fails without the fix. - `uv run isaaclab -f` (all hooks passed, including the changelog fragment check against upstream `develop`) ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the complete pre-commit checks. - [x] I have updated the editor setup documentation. - [x] My changes generate no new warnings. - [x] I have extended the closest editor setup test. - [x] I have added a changelog fragment for `isaaclab` and a `.skip` fragment for the `isaaclab_rl` test change. - [x] My name already exists in `CONTRIBUTORS.md`. (cherry picked from commit 00ecf5a)
Contributor
|
Backported to |
This was referenced Sep 22, 2026
Closed
ooctipus
added a commit
that referenced
this pull request
Sep 24, 2026
…ng docs (#7957) Backports the three changes from the September 20–23 `develop` audit that are missing from `release/3.0.0`, alongside the existing cloning-guide backport: - #7722 (`4cf439dfeb`): reject a second `SimulationContext` construction instead of silently discarding its configuration. Includes the original fixture cleanup and regression coverage. - #7893 (`22fcd71bc4`): validate DelayBuffer lag values before mutating its live configuration. - #7947 (`6e9ef17f59`): make `v3.0.0-EA` the default documentation version in deployment and local multi-version builds. - #7129 (`354168560f`): clarify that `replicate_physics=False` skips the active physics context while other declared replication contexts still run. **Compatibility:** repeated `SimulationContext(...)` calls now raise. Retrieve the live context with `SimulationContext.instance()`, or call `clear_instance()` before constructing a replacement. The original major changelog fragment includes this migration. The runtime and test files match current `develop`. The docs-default backport adapts the release branch's existing redirect template, validates the target page, and preserves explicit overrides. The cloning-guide backport preserves the current release APIs; its obsolete sections were already removed. ## Release audit Checked all **35 PRs** merged into `develop` from **2026-09-20 16:43:18 UTC** through `cff81e8473` (September 23), against release head `5d3e0b695e`. **32 are already covered; the remaining three are included here.** Git history, patch equivalence, GitHub's merged PR list, and remaining file differences were checked. Branch-specific version/changelog compilation and existing release-only changes are preserved. <details> <summary>Already covered PRs</summary> 26 have an equivalent patch in release: #7919, #7922, #7923, #7924, #7925, #6758, #7928, #7902, #7927, #7891, #7931, #7691, #7861, #7929, #7916, #7939, #4609, #7942, #7940, #7948, #7937, #7955, #7960, #7961, #7970, #7958. Six were squash-merged or adapted: #7530 and #7899 in #7926; #7637 in #7933; #7860 in #7936; #7954 and #7950 in #7964. Their implementation differences were checked against the current release tree. </details> ## Validation - **276 tests passed**: SimulationContext (51, including CPU/CUDA), headless context construction (15), nine schema/fragment suites (165), four manager suites (38), and DelayBuffer (7). - Both backported regressions reproduce with the original release implementations. - Docs redirect recipe: local/deployment EA defaults, explicit override, and missing-target rejection passed with a stubbed Sphinx builder. - All 22 changed files match the intended backport scope; `uv run isaaclab -f` and `git diff --check` passed. - Fresh Sphinx validation (`-b dummy -W --keep-going`): passed without warnings, excluding static assets as the HTML builder does. Full HTML documentation CI is running. Local runtime validation used PyTorch 2.12.0, CUDA 13.0, Isaac Sim 6.0.1.0, and an RTX 5090. Existing runtime/deprecation warnings occurred; the CI jobs validate the pinned environments. The previous [docs CI failure](https://github.com/isaac-sim/IsaacLab/actions/runs/35795116307/job/106972539281) was an external connection reset fetching the Omniverse intersphinx inventory, producing one warning under `-W`. That URL returned HTTP 200 when rechecked. This update starts a fresh docs build. --------- Co-authored-by: hujc <[email protected]> Co-authored-by: Zihan Xu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Clean up the VS Code configuration for the Isaac Lab checkout and generated external projects, and fix the open VS Code debugging and settings-generation bugs.
Recommendations and settings
ms-iot.vscode-rosrecommendation that replace ros extension #4402 proposed to replace..tpp, Spell Right/cSpell, autoDocstring, and ROS Noetic settings from both settings templates.isaaclab --editor.Debugging (#2238)
python.defaultInterpreterPathwrapper scripts such as_isaac_sim/python.shto the underlying executable, so launch configurations skip Isaac Sim's environment setup. Every launch configuration in both templates now sets"python": "${config:python.defaultInterpreterPath}", the interpreter recorded byisaaclab --editor.debugpytype instead of the deprecatedpythontype, useconnectfor the attach configuration, run training and playback throughisaaclab train/play(the oldscripts/reinforcement_learning/rsl_rl/*.pypaths no longer exist), use the currentIsaac-Reach-Frankatask ID, and documentuv run python -m debugpyfor attach.launch.json.Settings generation (#3965)
pyrightconfig.jsonviajson.dumps. This PR also JSON-encodes the interpreter path in.vscode/settings.jsonand passes it tore.subwithout escape processing. Before this change, an interpreter path containing a backslash crashed withre.error: bad escape \U. Fixes invalid JSON in generated VS Code settings on Windows #6757 targetstools/wheel_builder/res/__main__.py, which no longer exists.Tasks
isaaclab.sh --format/isaaclab.bat --formattask withuv run isaaclab --format.Fixes #2238
Fixes #3965
Supersedes #4402 and #6757.
Type of change
Release backport
developScreenshots
Not applicable.
Validation
uv run python -m pytest source/isaaclab_rl/test/test_template_generator.py(28 passed). The editor setup test now also runs with a backslash interpreter path and parses the generated settings as JSON; this case fails without the fix.uv run isaaclab -f(all hooks passed, including the changelog fragment check against upstreamdevelop)Checklist
isaaclaband a.skipfragment for theisaaclab_rltest change.CONTRIBUTORS.md.