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 5.6 MB

IBM i Project Explorer for VS Code

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

License: Apache License 2.0

TypeScript 99.36% JavaScript 0.64%
ibmi vscode

vscode-ibmi-projectexplorer's Introduction

IBM i Project Explorer

GitHub star this repo ๐ŸŒŸ

The IBM i Project Explorer supports developing IBM i applications using buildable local projects in Visual Studio Code. Leverage the Project Explorer viewer to manage a project's library list, variables, object libraries, include paths, and much more. Utilize the Job Log viewer as well to easily visualize the contents of your job logs after having run a build or compile.


Running the Extension

  1. Install VS Code and Node.js
  2. Clone this repository
  3. npm install
  4. Run Extension from VS Code

To release the extension

  1. Update CHANGELOG.md with the improvements
  2. Update the version number in package.json and types/package.json
  3. Create a new release with a tag with the corresponding version number A github action will automatically be triggered which will build and pubish the vsix to both OpenVSX and Micrsoft registries. Also the types will be published to npmjs so that the API is available to any JavaScript code.

vscode-ibmi-projectexplorer's People

Contributors

dependabot[bot] avatar edmundreinhardt avatar sanjulaganepola avatar sebjulliand avatar worksofliam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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

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

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 ...

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.