vscode-ibmi
vscode-ibmi copied to clipboard
Support workspace folder parameter on `runAction`
Changes
This PR simply adds the workspaceFolder as an optional parameter on runAction. The purpose of this change is so that when runAction is used on an object or member in Project Explorer, the local project's LIBL and CURLIB variables are used.
Associated change in PE: https://github.com/IBM/vscode-ibmi-projectexplorer/pull/575
How to test this PR
- Actions unrelated to PE should work as before.
- Actions from PE should use the project's
LIBLandCURLIB.
Checklist
- [x] have tested my change
Code is fine, but I think this is the last parameter we accept before changing the entire signature to use an object instead.
Code is fine, but I think this is the last parameter we accept before changing the entire signature to use an object instead.
That could be a good change for v3.
@worksofliam @sebjulliand Could we get this PR merged and released? Need it for a PE release 😃