Skip to content

replace ros extension - #4402

Closed
motty-mio2 wants to merge 7 commits into
isaac-sim:mainfrom
motty-mio2:feature/replace_ros_extension
Closed

motty-mio2 wants to merge 7 commits into
isaac-sim:mainfrom
motty-mio2:feature/replace_ros_extension

Conversation

@motty-mio2

@motty-mio2 motty-mio2 commented Jan 16, 2026 •

Copy link
Copy Markdown

Description

VSCode ROS Extension (maintained By ms-iot) has been archived.
So I replace it with a successor extension.

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@greptile-apps

greptile-apps Bot commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Replaces the archived ms-iot.vscode-ros extension with its maintained successor Ranch-Hand-Robotics.rde-pack in VSCode recommendations.

  • Updated main .vscode/extensions.json to use Ranch-Hand-Robotics.rde-pack instead of ms-iot.vscode-ros
  • Updated template configuration at tools/template/templates/external/.vscode/extensions.json to match
  • Added contributor name to CONTRIBUTORS.md

The old ms-iot.vscode-ros extension has been archived and is no longer maintained. The new Ranch-Hand-Robotics.rde-pack extension is the actively maintained successor that provides ROS 2 development support. This change ensures developers using VSCode will be recommended a supported extension for working with ROS-related files (URDF, launch files) in the IsaacLab codebase.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward and low-risk: replacing an archived VSCode extension recommendation with its maintained successor. Both extension recommendation files were consistently updated, and the contributor was properly added to CONTRIBUTORS.md. No code logic or functionality is affected - only developer tooling recommendations.
  • No files require special attention

Important Files Changed

Filename Overview
.vscode/extensions.json Replaced archived ms-iot.vscode-ros with maintained Ranch-Hand-Robotics.rde-pack extension
tools/template/templates/external/.vscode/extensions.json Updated template to use the new maintained ROS extension
CONTRIBUTORS.md Added contributor name in alphabetical order

Sequence Diagram

sequenceDiagram
    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
Loading

@greptile-apps

greptile-apps Bot commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

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".

@Mayankm96
Mayankm96 force-pushed the main branch 2 times, most recently from 2ef7fc8 to f3061a4 Compare January 28, 2026 16:16

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 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]

StafaH added 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`.
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)
@StafaH

StafaH commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Fixed in #7940

@StafaH StafaH closed this Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants