ROS Interface.tmLanguage is a TextMate language grammar for ROS Interfaces (messages, services, and actions). It defines regex-based parsing rules so that code renderers can highlight ROS message definitions using a semantic color scheme.
This grammar is used for syntax highlighting by:
- GitHub Linguist — for ROS msg/srv/action files and Markdown code blocks (tagged with
```rosmsg) on GitHub. - The Robotics Development Extensions for Visual Studio Code.
The language grammar is available in three formats:
- ROS Interface.tmLanguage.yaml — the canonical copy intended for human editing
- ROS Interface.tmLanguage.json — generated from the YAML
- ROS Interface.tmLanguage — generated from the JSON
- To test the grammar in VS Code, press F5 to load the current version of the
.tmLanguagein a new window. After each change, reload the window to load the updated.tmLanguage.
This grammar and others are maintained by @jtbandes as a passion project. If you'd like to support past and future development, please consider making a donation. 💖
This project is licensed under the terms of the MIT license.
