Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>RRPGNew to Visual Studio Code? Get it now.
RRPG

RRPG

SpineNetSystems

|
1,620 installs
| (0) | Free
RPGLE & RPG400 syntax highlighting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RPG for Visual Studio Code

What is this?

Syntax highlighting for IBM RPG, RPGLE and ASNA Visual RPG

This is only an editor. The extension will in no way connect to an external AS400 / iSeries computer

What is it useful for?

Quick viewing and editing of RPG source code without being limited to a 5250 editor. features incudes:

  • Support for fixed-format RPG 4
  • Support for free-format syntax both with full free and imbedded
  • Support for ASNA Visual RPG
  • Includes IBM format lines to help position structured code
  • IntelliSense for structured and free-format keywords
  • fix-format RPG4 code begins on either column 6 (IBM standard) or colomn 1. You will not need to make any setting changes this is an automatic feature dependent on your coding style.
  • Block matching for both structured and free-format

File Types

These are the supported file extensions for RPG 4 and 3

Extension(s) Description
.rpgle, .sqlrpgle RPG4 and SQLRPGL
.rpg3, .rpg RPG/400
.vr ASNA Visual RPG

Tools for fixed format RPG

SEU format bar

Called by typing in the source code (spec)format. Examples and demos are shown below.

Spec Command Note
RPG 4 /3 F fformat
RPG 4 D dformat
RPG 4 /3 I iformat Description only for external files
RPG 4 /3 C cformat
RPG 4 /3 O oformat No Description just SEU bar
RPG 4 P pformat
RPG 3 E eformat No Description just SEU bar

F-spec

struc.rpg

I-spec

struc.rpg

D-spec

struc.rpg

D-spec with explanation

struc.rpg

C-spec

struc.rpg

Indicator delineation

struc.rpg

Block matching

Removed: See todo section.

TODO

  • Create an independint block macher. In VSC v. 1.67 a new block colorizor was implemented, this ovrided the colors for the all control blocks in the extension.

struc.rpg

  • Add support for RPG 3 specs, current specs and their status are

    • H spec: completed

    • F spec: incomplete documentation needed

    • E spec: incomplete documentation needed

    • I spec: mostly complete but citation needed

    • C spec: mostly complete

    • O spec: incomplete documentation needed

    • T spec: Not currently supported

    • U spec: Only format line

    • L spec: Only format line

  • Test Color highlighting with different color themes current tests where done only with default dark and light themes

  • Support for ASNA code is not complete. You can still make classes subroutines and procedures but any special operations are not included. I will need to see more examples.

What does it look like?

Fixed Format Syntax

struc.rpg

RPG/400

struc.rpg

Free Tags

freeTags.rpg

Fully Free

fullFree

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