VOOZH about

URL: https://marketplace.visualstudio.com/items?itemName=HalcyonTechLtd.vscode-rpgle

⇱ RPGLE - Visual Studio Marketplace


Skip to content
👁 Image
Sign in
Visual Studio Code>Programming Languages>RPGLENew to Visual Studio Code? Get it now.
👁 RPGLE

RPGLE

RPGLE language tools and linter for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-rpgle README

👁 Image

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.