Giter Site home page Giter Site logo

ibm / vscode-ibmi-projectexplorer Goto Github PK

View Code? Open in Web Editor NEW
20.0 12.0 6.0 10.87 MB

IBM i Project Explorer for VS Code

Home Page: https://ibm.github.io/vscode-ibmi-projectexplorer/

License: Apache License 2.0

TypeScript 99.40% JavaScript 0.60%
ibmi vscode

vscode-ibmi-projectexplorer's Issues

Enhancement: set curlib/objlib

The scenario I am trying to enable is to build the iproj.json without typing.

  1. Go to QSYS browser and select s library as set as curlib or objlib or pre/post usrlibl
    -> has the effect of updating the iproj.json with hardcoded value
    2( Go to Project Explorer and Configure as Variable (this part is already done)

This would probably make more sense of the QSYS Browser allowed filters allowed multiple libraries
In the mean time, you could do it on a Library filter

You have already done a great job of this with the include path and directories

Create a walkthrough to set up an i project

  1. From scratch
  • add workspace folder
  • create iproj.json (via clicking on project tree item)
  • connect to IBM i (right click action to do Merlin/Code for IBM i connection creation/selection)
  • create .env ( click on Variables entry)
  • assign library to a variable (need new action)
  • tweak/reorder library list
  • set deploy location
  1. from QSYS library
  • do import using ...

Migrate tool

    const basePage = new CustomUI()
      .addParagraph(`This tool can be used to migrate source code`)
      .addInput(`srcLib`, `Source library`)
      .addInput(`defaultCCSID`, `Default CCSID`, `If the source file is 65535, this will be used instead`, {default: `*JOB`});
    
    const sourceFiles = [`QRPGLESRC`, `QRPGLEREF`, `QDDSSRC`, `QSQLSRC`];

    sourceFiles.forEach(srcPf => {
      basePage.addCheckbox(srcPf, srcPf, `Tick to migrate ${srcPf}`);
    });

    const page = await basePage.loadPage<any>(`Migrate tool`);

    if (page && page.data) {
      const data = page.data;
      page.panel.dispose();
    }

Add `setObjectLibrary` and `setTargetCCSID` actions

Add setObjectLibrary and setTargetCCSID actions on directories in the file explorer to allow setting the objlib and tgtccsid at the directory level (.ibmi.json).

For setObjectLibrary, show existing variables to select from and option to add new variable + value

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.