A VS Code extension to convert RPGLE code to UPPERCASE, lowercase, and PascalCase — instantly.
Features
To UPPERCASE — Transform selected text to all caps.
To lowercase — Convert selected text to lowercase.
To PascalCase — Intelligently capitalize each word, respecting RPGLE separators like _, -, (, :, ;, and whitespace.
All commands support multi-cursor and multi-selection out of the box.
Right-Click Context Menu
Commands appear directly in the right-click context menu — but only when editing a supported RPGLE file, keeping the menu clean in all other file types.
Supported file extensions:
Extension
Language
.rpg
RPG
.rpgle
RPGLE (Free-format)
.sqlrpg
SQL RPG
.sqlrpgle
SQL RPGLE (Free-format)
Usage
Option 1 — Right-Click Context Menu
Open an .rpgle, .sqlrpgle, .rpg, or .sqlrpg file.
Select the text you want to convert.
Right-click and choose a conversion from the context menu.
Option 2 — Command Palette
Select the text you want to convert in any open file.
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).