Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ROS2 Message SchemaNew to Visual Studio Code? Get it now.
ROS2 Message Schema

ROS2 Message Schema

Clippership

|
5 installs
| (0) | Free
Syntax highlighting for ROS2 interface files (.msg, .srv, .action)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ROS2 Message Schema

Syntax highlighting for ROS2 interface files in VS Code: .msg, .srv, and .action.

Features

  • Syntax highlighting for ROS2 message, service, and action definition files
  • Comment toggling with # line comments
  • File associations so .msg, .srv, and .action files are recognized automatically

Supported syntax elements include primitive types (bool, int32, float64, string, etc.), message types (geometry_msgs/Point), array forms ([], [N], [<=N]), constants, fields with optional default values, section separators (---), and comments.

Installation

From VSIX

  1. Build the extension: npm run compile then npm install -g @vscode/vsce and vsce package
  2. In VS Code: Extensions → ... → Install from VSIX → select the generated .vsix file

From source

  1. Clone this repository into your VS Code extensions directory (e.g. ~/.vscode/extensions/ros2-msg-syntax-0.1.0)
  2. Run npm install and npm run compile
  3. Reload VS Code or run Developer: Reload Window

Development

  • npm install — install dependencies
  • npm run compile — compile TypeScript to out/
  • Run Extension from VS Code (F5) — launch a Development Host to test the extension

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft