Adds functionality to assist in writing accurate, readable and consistent RPG language code, including:
- Content assist
- Outline view
- Linter, including indentation checking and reformatting (
**FREEonly) - Column assist for fixed-format RPGLE and OPM RPG
Depends on the Code for IBM i extension due to source code living on the remote system when developing with source members.
Check out the official documentation for a usage guide.
- Fork & clone
npm i- Run
To run the tests, you have two options:
npm run testfrom the command line- 'Debug Tests' from the VS Code debugger
To run debug the extension and server, from the VS Code debugger:
- Debug 'Launch Client'
- Debug 'Attach to Server'
The test suite covers both RPG language variants:
- ILE RPG tests:
tests/suite/*.test.ts - OPM RPG tests:
tests/suite/opm/*.test.ts- Specification parsing (
specs.test.ts) - Symbol resolution and scoping (
scope.test.ts) - Real-world OPM fixtures (
tests/fixtures/opm/*.rpg)
- Specification parsing (
Thanks so much to everyone who has contributed.
