Use RDi to make RPGLE lowercase 

 October 18, 2017

By  NickLitten

Internet fact #173 – If you make RPGLE lowercase it looks a lot prettier!

If you’ve ever read any of my many waffling techno-blogs about programming with the RPG language you will know that I have a bit of a love/hate relationship IBM’s Rational Developer code editor. But, just sometimes it does really small, but obvious, things that make me smile.

If  You SpEND LOTS OF TimE fixing weird TYPING CASE fluctuations in your COdE then dont worry – help is at haNd!

Let RDi tidy RPGLE for you in the blink of an eye

Just play with the editor setting and tweak them to your personal prefrfences at Windows > Preferences > Remote Systems > Remote Systems LPEX Editor > IBM i Parsers > ILE RPG

You can change the main settings and several subsets.

For example, I get annoyed that pressing ENTER will automatically close an IF/END loop and you can turn this off by un-checking “automatic closure of control block”, turn off automatic uppercasing, or you can set your if/end loop indenting value (but I still like 3):

Use RDi to make RPGLE lowercase 1

The free form SQL formatter option is great (since I mostly choose SQLRPGLE nowadays):

Use RDi to make RPGLE lowercase 2

Get your code how you like it just click SOURCE | FORMAT or simply press CTRL/SHIFT/F and *boom* it all looks prettier.

Nice work RDi team!

Manually select text and switch it to uppercase or lower case

Lower case: CTRL+SHIFT+Y (CMD+SHIFT+Y on Mac OS X)
Upper case: CTRL+SHIFT+X (CMD+SHIFT+X on Mac OS X)

Obviously be careful you are not selecting strings that contain case sensitive data.


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"cff50":{"name":"Main Accent","parent":-1},"a344d":{"name":"Accent Transparent","parent":"cff50"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"cff50":{"val":"var(--tcb-skin-color-0)"},"a344d":{"val":"rgba(46, 138, 229, 0.85)","hsl_parent_dependency":{"h":210,"l":0.54,"s":0.78}}},"gradients":[]},"original":{"colors":{"cff50":{"val":"rgb(0, 178, 255)","hsl":{"h":198,"s":1,"l":0.5}},"a344d":{"val":"rgba(0, 178, 255, 0.85)","hsl_parent_dependency":{"h":198,"s":1,"l":0.5}}},"gradients":[]}}]}__CONFIG_colors_palette__

Get In Touch

I’m always looking for awesome input, feedback and critique!