Somewhat decent syntax highlighting for IBMi languages such as RPG, CL, DDS, MI, and RPGLE fixed/free.
Please consider downloading code-for-ibmi to edit RPG, RPGLE, and CL directly in VS Code!
Pretty much all I did was crawl through various IBM documentation on my lunch breaks and throw some regular expressions in here when I got the chance. The regex I made probably isn't too efficient and it does mess up sometimes, but I think it works for like 90% of cases I've come across.
By all means, I probably got a couple things wrong; submit a pull request or issue if you see something please! (That goes for anything in here)
RPGLE syntax last updated to Fall 2022
File Types (case insensitive)
For each source type, I lumped legacy(system/38) source types together with the regular source types.
See screenshots/ for more examples of syntax highlighting.
RPGLE Fixed Format
RPGLE Free Format
RPGLE Free with Embedded SQL
Control Language (CL)
Online Help Panel Group (PNLGRP)
Data Description Specification - Physical File (DDS)
Machine Interface (MI)
VS Code Marketplace
This extension is also deployed to Open VSX
Known Bugs / Future Improvements