Repository navigation
replace ros extension - #4402
motty-mio2 wants to merge 7 commits into
Conversation
Greptile SummaryReplaces the archived
The old Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant VSCode as VSCode Editor
participant OldExt as ms-iot.vscode-ros<br/>(archived)
participant NewExt as Ranch-Hand-Robotics.rde-pack<br/>(maintained)
participant Repo as IsaacLab Repository
Note over Dev,Repo: Before Changes
Dev->>Repo: Open project in VSCode
Repo->>VSCode: Load .vscode/extensions.json
VSCode->>OldExt: Recommend ms-iot.vscode-ros
Note over OldExt: Extension is archived<br/>and no longer maintained
Note over Dev,Repo: After Changes
Dev->>Repo: Open project in VSCode
Repo->>VSCode: Load updated .vscode/extensions.json
VSCode->>NewExt: Recommend Ranch-Hand-Robotics.rde-pack
NewExt->>VSCode: Provide ROS 2 support
Note over NewExt: Active successor extension<br/>with ROS 2 support
Dev->>VSCode: Work with ROS files (URDF, launch files)
NewExt->>Dev: ROS development features available
|
Greptile found no issues!From now on, if a review finishes and we haven't found any issues, we will not post anything, but you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
2ef7fc8 to
f3061a4
Compare
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This PR replaces the archived ms-iot.vscode-ros VS Code extension recommendation with its actively maintained successor Ranch-Hand-Robotics.rde-pack in both the root .vscode/extensions.json and the external project template. The contributor is properly added to CONTRIBUTORS.md.
Design Assessment
Design is sound. The ms-iot/vscode-ros extension has been archived and is no longer maintained. The replacement Ranch-Hand-Robotics.rde-pack is the official successor — it's an extension pack that bundles the RDE ROS 2 debugger/tools and the URDF editor, so developers actually get more functionality than before.
Both extensions.json files are updated consistently, and the CONTRIBUTORS.md entry is in correct alphabetical order.
Findings
No critical or warning-level issues found. A couple of minor observations:
🔵 Note: PR description links to rde-ros-2 but extension ID is rde-pack
The PR body links to https://github.com/Ranch-Hand-Robotics/rde-ros-2 as the "successor extension," but the actual extension ID used in the JSON files is Ranch-Hand-Robotics.rde-pack (the extension pack). This is fine — rde-pack bundles rde-ros-2 plus the URDF editor, so it's actually the better choice. Just noting the slight discrepancy in the description for clarity.
Test Coverage
- No new tests needed. This is a pure tooling/config change with zero runtime impact. The only files modified are VS Code extension recommendation lists and
CONTRIBUTORS.md.
Verdict
APPROVE ✅
Clean, minimal, well-scoped change. Both extension recommendation files are updated consistently, the replacement extension is legitimate and actively maintained, and the contributor entry is correctly placed. Ship it.
Review by Isaac Lab Review Bot — [Expert Analysis] + [Error Handling Audit] + [Test Coverage Check]
# 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`.
# 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)
|
Fixed in #7940 |
Description
VSCode ROS Extension (maintained By ms-iot) has been archived.
So I replace it with a successor extension.
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there