I wrote a simple write up for a co worker to install and try VS with RPG. This might help those on the list do the same.

1. Download and Install VS Code
a. https://code.visualstudio.com/

2. Install Code for IBMi (this will want to open VS Code if it is not already open – this is OK)
a. https://marketplace.visualstudio.com/items?itemName=HalcyonTechLtd.code-for-ibmi
b. This is the main extension to download and edit the code

3. Install RPG extension
a. https://marketplace.visualstudio.com/items?itemName=NielsLiisberg.RPG
b. This does the auto complete stuff

4. Install IBMi Languages
a. https://marketplace.visualstudio.com/items?itemName=barrettotte.ibmi-languages
b. This does code highlighting

Now you can go to this page and scroll down to see how to create the connection and how to add the source lib/source files that you want to edit.
https://github.com/halcyon-tech/code-for-ibmi

------ Original Message ------
From: dfreinkel@xxxxxxxxxxxxxxxxx
To: "Rational Developer for IBM i" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Sent: 3/3/2021 9:20:08 AM
Subject: Re: [WDSCI-L] VS Code for RPG

Jon

I downloaded what appears to be 2 versions of the RPG editor. The halcyon version and Niels Liisberg's version. I do not know if they are the same editor downloaded from different places.

The version I get to load in VS Code has a icon on the left side with IBM i showing up when I hover over it. I do not see where it shows the version I am using.

This morning I started VS Code and found that my library with the source files were gone. I do not see how to make them stay permanently in the list under member browser.

I found the json edit and added my library list and source files. I believe what I am seeing is Code for IBM i.

So far so good.

Thanks for the help so far.

Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jon Paris
Sent: Tuesday, March 2, 2021 6:28 PM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] VS Code for RPG

I don't understand the first question Darryl. When you open a source in VS Code with the added IBM i features it will recognize the source type. You don't have to decide an editor - there is really only one.

As to compile commands I thought the instruction on how to modify those were on the plug-ins home page?

This is what I see: (It iOS also in the VS Code settings for the plugin.

How do I compile my source code?

• Edit your library list in the 'Code for IBM i' Settings (comma delimited list)
• Edit the compile settings in JSON format in the 'Code for IBM i' Settings too. You can define what commands to use for the compilations.
• Open the source you want to compile
• Use Ctrl+E or Cmd+E to compile your source.
• If you have more than one compile option available to you for the type of source, it will prompt you
• If you are using *EVENTF, it should automatically load the error listing in the Problems tab.



On Mar 2, 2021, at 5:32 PM, dfreinkel@xxxxxxxxxxxxxxxxx wrote:

I got something to run. How do I tell which RPG editor I am using?

Whichever I have running, it there a way to add a new Action? I would
like to add my own compile command plus a few others. Can this be done?

TIA

Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
dfreinkel@xxxxxxxxxxxxxxxxx
Sent: Tuesday, March 2, 2021 3:11 PM
To: 'Rational Developer for IBM i' <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] VS Code for RPG

Thank you. Installing 5733sc1.

Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Richard Schoen
Sent: Tuesday, March 2, 2021 1:27 PM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [WDSCI-L] VS Code for RPG

You need a SSH daemon running. Probably need to install 5733SC1 if you
don't have SSH yet:

5733SC1 *INSTALLED IBM Portable Utilities for i
5733SC1 *INSTALLED OpenSSH, OpenSSL, zlib

And then you can install the IBMi open source package management via ACS.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

------------------------------

message: 3
date: Tue, 2 Mar 2021 10:56:43 -0500
from: <dfreinkel@xxxxxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] VS Code for RPG

What licensed product is required to get the SSH Daemon started? I get
a TCP1A0A reason code 0005 when I start STRTCPSVR *SSHD. Which option
number is required to get this started?

Thanks

Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.