codefori/vscode-ibmi
The default actions `Create Service Program` and `Create Program` should not be enabled for `GLOBAL` i.e. all file extensions
Offen
#1.961 geöffnet am 27.03.2024
good first issue
Repository-Metriken
- Stars
- (414 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Describe the bug After launching actions setup, the default actions for PGM and CRTSRVPGM are created as global and are therefore available for all source files. This leads to running these actions on the wrong source.
To Reproduce
I just tested the action IBM i: Launch Actions Setup
and the actions.json entry created
{
"extensions": [
"GLOBAL"
],
"name": "Create Service Program (CRTSRVPGM EXPORT(*ALL))",
"command": "CRTSRVPGM SRVPGM(&CURLIB/&NAME) EXPORT(*ALL) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*CALLER)",
"environment": "ile"
},
Here is the screen recording of the confusing result of this
Expected behavior These actions should not appear for inappropriate file extensions
Environment:
- Extension version 2.8.0
- IBM i OS version 7.4
The issue is not unique to these versions