I’ve been working with the Leitmotif team, makers of the Kaleidoscope diff tool, to add support for Xojo. Kaleidoscope 7 landed today, and Xojo support is now officially included.
If you’ve ever used a diff tool to review Xojo code before checking it into your preferred version control system, you probably understand the frustration of working with a tool that does not recognize Xojo’s syntax.
That changes with Kaleidoscope 7.
Xojo code is now properly syntax highlighted, making diffs easier to read and changes easier to review.
This work has been underway for quite some time and would not have been possible without help from several people along the way. Many thanks to @GarryPettet for creating the original Highlight.js Xojo language parser, and kudos to the Leitmotif team for being so willing to bring Xojo support into Kaleidoscope.
The grammar is open source, so you can view it, report issues, or contribute to the highlightjs-xojo-grammar project on GitHub.