ljpedroso / code-for-ibmi

IBM i development extension for VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for IBM i

Maintain your RPGLE, CL, COBOL, C/CPP on IBM i right from Visual Studio Code.

Contributors

Guide

How do I get syntax highlighting?

Install IBMi Languages first! Thank you @barrettotte.

Make a connection

  1. Press F1
  2. Find 'IBM i: Connect'
  3. Enter in your connection details in the window that opens
  4. Hit connect

Tip: next time, try using 'IBM i: Connect to previous'

Browse source members

  1. Open the Code Settings
  2. Find the 'Code for IBM i' Settings (Extensions -> Code for IBM i)
  3. Add paths to source physical files you'd like to browse (format: LIB/FILE)
  4. Open the 'IBM i' view on the left hand side
  5. You will be able to open up your source files/members

You can click on a member to open and edit it. There is no member locking and the extension does not retain source dates.

How do I compile my source code?

  1. Edit your library list in the 'Code for IBM i' Settings (comma delimited list)
  2. 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.
  3. Open the source you want to compile
  4. Use Ctrl+E or Cmd+E to compile your source.
  5. If you have more than one compile option available to you for the type of source, it will prompt you
  6. If you are using *EVENTF, it should automatically load the error listing in the Problems tab.

Features

  • Member browser and editor
  • Basic configration setup (for source physical file list, library list & home directory)
  • Create, delete, rename & change text on members
  • IFS Browser
  • Create, delete and rename directory
  • Create, delete and rename streamfiles
  • Notice at bottom when connect to remote system
  • Make it easier to connect to systems again
  • Compilation settings
  • Ability to compile sources
  • Error lists show up in Problems

Requirements

In order to use extension, SSH Daemon must be started on IBM i.

How to get running

Install from VS Code

You can find the extension in the VS Code Marketplace!

Run from local

  1. clone repo
  2. npm i
  3. 'Run Extension' from vscode debug.

About

IBM i development extension for VS Code

License:MIT License


Languages

Language:JavaScript 95.1%Language:HTML 4.9%