Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Robot Developer Extensions for ROS 2New to Visual Studio Code? Get it now.
Robot Developer Extensions for ROS 2

Robot Developer Extensions for ROS 2

Preview

Ranch Hand Robotics LLC

|
537 installs
| (0) | Free
Robot Developer Extensions for developing Robot Operating System (ROS) 2 with Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Robotics Development Extensions for ROS 2 within Visual Studio Code

This is a Visual Studio Code Extension that provides debugging support for Robot Operating System 2 (ROS 2) development ROS 2 on Windows, Linux and MacOS. The Robot Operating System is a trademark of Open Robotics.

NOTE: This extension is rebranded and re-released by Ranch Hand Robotics, a company owned by the maintainer of the ms-iot VSCode ROS Extension with permission from Microsoft. The source extension was split into 3 parts - ROS 1, ROS 2 and a URDF editor.

Features

  • Automatic ROS environment configuration.
  • Allows starting, stopping and viewing the ROS core status.
  • Automatically create colcon build and test tasks.
  • Run and Debug ROS Launch Files
  • Resolve dependencies with rosdep shortcut
  • Syntax highlighting for .msg, .urdf and other ROS files.
  • Automatically add the ROS C++ include and Python import paths.
  • Format C++ using the ROS clang-format style.
  • Debug a single ROS node (C++ or Python) by [attaching to the process][debug_support-attach].
  • Debug ROS nodes (C++ or Python) [launched from a .launch.py file][debug_support-launch].
  • Configure Intellisense

Getting Started

The VS Code ROS extension will attempt to detect and automatically configure the workspace for the appropriate ROS Distro.

The extension will automatically start when you open a ROS 2 workspace.

Documentation, Tutorials, Troubleshooting

Please see the documentation site at Robotics Developer Extensions for ROS 2 Documentation

Support

If you encounter any issues with this extension, the following resources are provided:

Github Issues

Bugs and feature requests are handled through Github Issues in the Repository. If you find that you are hitting the same issue as someone else, please give a :+1: or comment on an existing issue. Please provide as much details as possible, including an isolated reproduction of the issue or a pointer to an online repository.

Discussions

Github Discussions are provided for community driven general guidance, walkthroughs, or support.

Sponsored Support

Coming Soon One on one support, mentoring and consulting will be available through Github Sponsors and Patreon.

Contribution

Contributions are always welcome! Please see our [contributing guide][contributing] for more details!

A big Thank you! to everyone that have helped make this extension better!

  • Andrew Short (@ajshort), original author
  • James Giller (@JamesGiller)
  • PickNikRobotics (@PickNikRobotics) for code formatting
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft