Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Update: Code for IBM i Language Tools

February 21, 2022/0 Comments/in RPG, VS Code for i /by Liam Barry Allan

Code for IBM iCode for IBM i and its RPGLE language tools have come a long way! I am excited to share some of the language tools improvements with you today. They are absolutely worth talking about. Language tools are what makes writing code fun and exciting, and we can be better developers with them.

For this article I am using:

  • Code for IBM i: Used to connect to the IBM i, write and compile code, plus much more!
  • RPGLE language tools: Adds all of the neat language features to VS Code.

New support for fixed format RPGLE

As an IBM i developer, you will probably need to work with older, fixed format RPG at some point. When you do, you’ll want to do it from within Code for i, so we started adding fixed format support about a month ago. For each feature discussed below, I’ve indicated if it currently handles fixed format.

Outline view

Shows all definitions, including file definitions. A very simply concept. Clicking on the item will take the user to the line of code where it is defined. Read more about the outline view in the VS Code documentation.

VS Code for i Outline View

Works for:

  • Fixed format RPGLE
  • Mixed fixed/free RPGLE
  • Total free format RPGLE

Content assist

Provides content assist for all definitions (including data structure subfields.) As you type code, you may not remember what variable you need, or perhaps you want a glance at how a variable is defined: the content assist can help you do that.

VS Code for i Content Assist

Works for:

  • Fixed format RPGLE
  • Mixed fixed/free RPGLE
  • Total free format RPGLE

Peek & go to definition

Peek and go to definition is my favourite feature of all time (especially peek!) It can quickly show you, or take you, to where the chosen variables, struct, etc. is defined. I love peek because it opens the file up in line (as in the image below.)

VS Code for i Peek & Go

Works for:

  • Fixed format RPGLE
  • Mixed fixed/free RPGLE
  • Total free format RPGLE

Peek references

A simple and effective feature that shows where instances of a variable are used.

VS Code for i Peek References

Works for total free-format RPGLE.

Linter

The linter can do so much to make sure your developers are writing clean code. In the screenshot below, you can see the linter is showing that I’ve used the same string literal many times over. It also provides a quick fix, and can easily refactor them into a constant. You can read more about the linter on a previous post about it.

VS Code for i Linter

The linter works for total free-format RPGLE.

Final words

There are so many things you can do with VS Code to make writing RPGLE an absolute breeze. While this is the end of this post, it’s not the end of functionality. I also recommend that you try the fixed-format outline view found in the RPGLE language tools settings, as well as checking out the RPGLE Free extension.

For more information on Code for i, see Visual Studio Code for IBM i: A Resource Guide.

Tags: Code for IBM i, IBMi development, RPG, Visual Studio Code
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Liam Barry Allan https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Liam Barry Allan2022-02-21 11:09:062023-01-30 17:39:48Update: Code for IBM i Language Tools
Liam Barry Allan

About Liam Barry Allan

Liam Allan, IBM Champion and consultant with Seiden Group, helps IBM i development teams transform their applications and bridge the gap between traditional and modern ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: Porting a Cross-Platform C++ Application to Mac Link to: Porting a Cross-Platform C++ Application to Mac Porting a Cross-Platform C++ Application to Mac Link to: New IBM i extension for PHP Link to: New IBM i extension for PHP New IBM i extension for PHP
Scroll to top Scroll to top Scroll to top