Somewhat decent syntax highlighting for IBMi languages such as RPG, CL, DDS, MI, and RPGLE fixed/free.
I made this extension because I do a lot more reading than writing with IBMi languages at work and I always have VS Code open. I also wanted to learn how to make a simple language extension for VS Code and get better with regular expressions.
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)
Development in VS Code
This extension is really only useful for reading code, not writing. See Issue 50 for more details.
Also check out https://github.com/NielsLiisberg/RPG-vsCode-Getting-Started for an introduction to an RPG + VS Code workflow.
If anyone stumbles across this and has any awesome material for machine interface, please send me an email. I really only made the bare basics for MI and I'd love to add to it
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)
Data Description Specification - Physical File (DDS)
Machine Interface (MI)
Known Bugs / Future Improvements