Skip to content

codefori/vscode-rpgle

Repository files navigation

vscode-rpgle README

Adds functionality to assist in writing accurate, readable and consistent RPG language code, including:

  • Content assist
  • Outline view
  • Linter, including indentation checking and reformatting (**FREE only)
  • 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.

Documentation

Check out the official documentation for a usage guide.

Developing

  1. Fork & clone
  2. npm i
  3. Run

Debugging

To run the tests, you have two options:

  1. npm run test from the command line
  2. 'Debug Tests' from the VS Code debugger

To run debug the extension and server, from the VS Code debugger:

  1. Debug 'Launch Client'
  2. Debug 'Attach to Server'

Testing

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)

Previous contributors

Thanks so much to everyone who has contributed.

About

RPGLE language tools for VS Code

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages