Is your feature request related to a problem? Please describe.
In v2, Zowe Explorer downloaded sequential data sets to temporary on-disk storage. These downloaded files had extensions (.cbl, .pli, etc.) that allowed extenders to associate the extension with a language.
In v3, data sets are associated with a language by Zowe Explorer using the VS Code API. In onDidOpenTextDocumentof DatasetFSProvider, opened documents have their language set to the ID returned by getLanguageId(parentPath). For example, PL/I programs have their language set to pli.
Not adding a file extension prevents extenders or users from specifying their own file associations. Setting the ID forces extenders to register languages in their extension manifest with the same language IDs as Zowe Explorer to have their extension recognize data sets opened in the tree view.
Describe the solution you'd like
Zowe Explorer should not decide the language ID for data sets. Extenders should decide this - either by providing an extension for data sets opened in Zowe Explorer (as was done in v2) or by granting users access to the DatasetFSProvider to specify their own language IDs.
Describe alternatives you've considered
You could request extenders to register new languages that use the exact IDs Zowe Explorer uses. I am not sure how else to satisfy the file associations problem.
Additional context
If a solution is agreed upon, I'd be happy to help contribute.
Is your feature request related to a problem? Please describe.
In v2, Zowe Explorer downloaded sequential data sets to temporary on-disk storage. These downloaded files had extensions (
.cbl,.pli, etc.) that allowed extenders to associate the extension with a language.In v3, data sets are associated with a language by Zowe Explorer using the VS Code API. In
onDidOpenTextDocumentofDatasetFSProvider, opened documents have their language set to the ID returned bygetLanguageId(parentPath). For example, PL/I programs have their language set topli.Not adding a file extension prevents extenders or users from specifying their own file associations. Setting the ID forces extenders to register languages in their extension manifest with the same language IDs as Zowe Explorer to have their extension recognize data sets opened in the tree view.
Describe the solution you'd like
Zowe Explorer should not decide the language ID for data sets. Extenders should decide this - either by providing an extension for data sets opened in Zowe Explorer (as was done in v2) or by granting users access to the
DatasetFSProviderto specify their own language IDs.Describe alternatives you've considered
You could request extenders to register new languages that use the exact IDs Zowe Explorer uses. I am not sure how else to satisfy the file associations problem.
Additional context
If a solution is agreed upon, I'd be happy to help contribute.