Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>RPG structureNew to Visual Studio Code? Get it now.
RPG structure

RPG structure

Christian Larsen

|
341 installs
| (1) | Free
RPG: Define qualified structure
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RPG Structure

RPG Structure is a Visual Studio Code extension to generate free-format RPG qualified data structures for IBM i.

With RPG Structure, you can quickly design structures, templates, and substructures, then export them directly into your RPGLE or SQLRPGLE code.


✨ Features

  • Define structure headers with:

    • Name
    • Type (default, template, *auto, *var)
    • Dimension
  • Add fields with:

    • Name (required)
    • Type (required, chosen from a predefined list)
    • Size (required, properly formatted)
    • Initialization value (optional)
  • Create substructures and add fields inside them.

  • Export your structure to the active editor at any position.

  • Configuration options:

    • Preferred format for declarations (Dcl-ds, dcl-ds, DCL-DS).
    • Support for templates and dimensional types.
  • Import structures:

    • From code (cursor position).
    • From the list of structures available in the source.
  • Field dimensions can be added independently (no longer from field creation).


🚀 How to Use

  1. Open a RPGLE or SQLRPGLE source in the editor.
  2. Click the RPG Structure icon in the Activity Bar.
  3. Enter your structure header information (name, type, dimension).
  4. Add fields and optional substructures.
  5. Click Insert to export the structure into your code.

⚙️ Requirements

  • Visual Studio Code v1.75 or higher.
  • A RPGLE or SQLRPGLE source open in the editor.

🐞 Known Issues

  • None at the moment.

📝 Roadmap

  • [ ] Add support for comments on structures and fields.
  • [ ] Add configuration options to define the list of available data types.

📦 Version History

See the full changelog here.

Latest

1.2.2 - 2025-09-07

  • Fixes: Internal changes on repository.

💬 Contributing
Issues and pull requests are welcome!
Please open an issue on GitHub with any suggestions or bug reports.


📄 License

This extension is licensed under the MIT License.


🚀 Enjoy using RPG Structure!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft