Replies: 1 comment 5 replies
-
What are |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the runAction command (e.g. code‑for‑ibmi.runAction) defined in code-for-ibmi.actions, invoking it manually via the Command Palette → Run Action → [Action Name] works correctly and outputs results in the "Code for IBM i" output channel. However, if I invoke the same action via a multiCommand sequence (in settings.json), nothing happens—no errors, no output, and the action isn’t executed. The Sequence proceeds without executing the intended action.
Please enable runAction to be invoked programmatically—via executeCommand, macros, or multiCommand—so it behaves exactly as when triggered manually from the palette. Ideally, the action should execute reliably, with output logged to the "Code for IBM i" channel.
Example minimal configuration:
{
"type": "member",
"extensions": [
"RPGLE",
"RPG"
],
"environment": "ile",
"name": "WL",
"command": "WLIVEL NOMPGM(&OPENMBR) LIBSRC(&OPENLIB) SOURCEFILE(&OPENSPF) FLAG(S)",
"refresh": "no",
"runOnProtected": false,
"outputToFile": ""
}
],
"multiCommand.commands": [
{
"command": "multiCommand.runWLWithRefresh",
"sequence": [
{
"command": "code-for-ibmi.runAction",
"args": {
"name": "WL"
}
},
"workbench.action.files.save",
"workbench.action.closeActiveEditor",
"workbench.action.reopenClosedEditor"
]
}
]
Environment and versions:
VS Code version: 1.101.0
Code for IBM i extension version: 2.16.3
Operating System: Win 11
Beta Was this translation helpful? Give feedback.
All reactions