Step 1 - Install Microsoft Visual Studio Code
I'm going to download and install Visual Studio Code for Windows (it's also available for Apple Mac and Linux). Grab the latest version here
Run the installer:
That was Easy right?
You can now use VS Code for writing your program source code with all the main languages.
Sadly, IBM i Languages are not supported as standard (because we are cool niche programmers!)
So, we need to add the Code for IBM i visual studio code plugin to extend VSCODE's capability to work with IBM i Systems and act as a complete Development Environment for RPG Programmers.
Step 2 - Install Code for IBM i from the Visual Studio Marketplace
I strongly suggest installing the IBM i Development Pack, a carefully selected collection of extensions designed to enhance or add value to Code for IBM i.
This plugin adds all the main plugins needed to use Code for IBM i to the max, including database tools, Language functions, RPGLE, CL, COBOL, and more:
That's it - Now you can edit your IBM i Source Code
After installing, note the instructions are all on the right hand side. But wait!
Before diving into configurations, I suggest you review the modules within the VS-Code for IBM i Development Pack and try to understand what each one does before you get into serious editing.
Having this knowledge will help setting up your environment, config files and best practice for source structure.
The next step is to configure your IBM i Connection, setup your editing environment and enjoy your first steps into the wonderful world of IBM i for VS-Code. You will be up and running with your VS-Code IDE in no time.
Next Steps?
Let's get connected...





