You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We plan to place the zapp file in the first folder (hier PR-xxx-1) and want to "feed" this file with some variables.
It is possible that we have the same source code file (here mycob1.cob ) in more than one release (locally it links to the same folder containing the file ).
We need to provide per product release folder different search locations with the ZAPP file.
e.g. when openening mycob1.cob in Folder Pr-xxx-1
1.) user.lib
2.) xxx-1-test
3.) xxx-1-beta
4.) xxx-1-prod
5.) anylib.zzz
when opening mycob1.cob in Folder Pr-xxx-2
1.) user.lib
2.) xxx-2-test
3.) xxx-2-beta
4.) xxx-2-prod
5.) anylib.zzz
Options to fix this:
when a user opens a cobol file trigger on "before file open" to change of the zopeneditor.zapp.variables in the multiroot workspace file (not tried yet)
make a settings.json in every product release folder to set the zopeneditor.zapp.variables
a zapp file for every single root workspace, but that does not work because the scanning is not restricted to the single root workspace. (preferred method but is not supported)
Is it possible to add option 3, or is there another way to solve this ?
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for the discussion on this topic. We do want to improve scoping for applications organized in folders and will take all your input into our discussion, so please keep the ideas coming.
At the moment in multi-root workspaces property groups from multiple ZAPP files are evaluated globally as they get appended into one list in the order in which the workspaces are listed in the .code-workspace file. Variables are global as well. So scoping is needed indeed.
Maybe similar to
#350
#342
Hi!
Our project includes several vscode extensions, and we would like to integration zowe explorer and z open editor for cobol.
We use a multiroot workspace , the structure is as follows:
Multiroot workspace folder
xxx.code-workspace file
PR-xxx-1 (Product release folder)
mycob1.cob (cobol source code)
mycob2.cob (cobol source code)
PR-xxx-2 (Product release folder)
mycob1.cob (cobol source code)
mycob3.cob (cobol source code)
PR-yyy-1 (Product release folder)
zowe.config.user.json file
zowe.schema.json file
We plan to place the zapp file in the first folder (hier PR-xxx-1) and want to "feed" this file with some variables.
It is possible that we have the same source code file (here mycob1.cob ) in more than one release (locally it links to the same folder containing the file ).
We need to provide per product release folder different search locations with the ZAPP file.
e.g. when openening mycob1.cob in Folder Pr-xxx-1
1.) user.lib
2.) xxx-1-test
3.) xxx-1-beta
4.) xxx-1-prod
5.) anylib.zzz
when opening mycob1.cob in Folder Pr-xxx-2
1.) user.lib
2.) xxx-2-test
3.) xxx-2-beta
4.) xxx-2-prod
5.) anylib.zzz
Options to fix this:
zopeneditor.zapp.variables
in the multiroot workspace file (not tried yet)zopeneditor.zapp.variables
Is it possible to add option 3, or is there another way to solve this ?
Thanks!
The text was updated successfully, but these errors were encountered: