IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
48 stars 21 forks source link

IBM User Build - Consistency of menus and commands #268

Open FALLAI-Denis opened 1 year ago

FALLAI-Denis commented 1 year ago

Description of the enhancement requested

As part of the IBM Dependency Based Build implementation, we are investigating the use of the IBM User Build feature of Z Open Editor.

We cannot directly use the menus offered by Z Open Editor because we have to manage the cohabitation between our old build system and IBM DBB. The choice of the build system is contextual to the Workspace, (in fact to the Git Repository, and the build system to use for the Git Repository is indicated at the Jenkinsfile level).

We are therefore going to use an overlay extension to drive IBM User Build when using IBM DBB and call the IBM User Build commands from this overlay extension.

By analyzing the Z Open Editor package.json file, and the menus and commands displayed, I think it would be desirable to make some adjustments to give more consistency.

At menu level:

At the command palette level:

At command level:

ratnamGT commented 2 months ago

I am not able to see the 'Run IBM userbuild ' option on menu while right click on the cobol programs. however I enabled userbuild in user and workspace settings .Could you please help me? Screenshot 2024-06-16 201948

sdaimwood commented 2 months ago

I am not able to see the 'Run IBM userbuild ' option on menu while right click on the cobol programs. however I enabled userbuild in user and workspace settings .Could you please help me?

Hi @ratnamGT, to run IBM User Build you need to right click in the editor of a COBOL program.

Attached is an image of what a right click should display in a COBOL program from our sample repository.

image

We will note the ability to right click a COBOL program from the File Explorer as a an enhancement though, that would be a great feature addition. Thank you!

ratnamGT commented 2 months ago

@sdaimwood Thanks for your response ,Yes When I open the cobol program in editor then I can see the above menu option along with 'Run IBM user Build' .But it is not showing in while I right click on cobol program in explorer without opening thne cobol code in editor. Is this option deprecated ? Or their is any settings in VS code where I can enable it.

sdaimwood commented 1 month ago

Hi @ratnamGT, unfortunately, starting user builds from the explorer is not functionality we support currently. The team has noted it as a useful feature to look into for a future release though. Thank you for the suggestion!