Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zowe Explorer should be programming language agnostic #3131

Open
phaumer opened this issue Sep 19, 2024 · 1 comment
Open

Zowe Explorer should be programming language agnostic #3131

phaumer opened this issue Sep 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@phaumer
Copy link
Member

phaumer commented Sep 19, 2024

Describe the bug

Zowe Explorer provides access to z/OS resources such as MVS data sets and PDS members. You can click on a member to open it in the default VS Code text editor. With its excellent SDK it provides a fantastic platform for extenders to layer their capabilities on top of Zowe Explorer. Zowe Explorer's scope imho is not to provide language specific capabilities such as syntax highlighting or code completion. It therefore needs to be designed language agnostic and not make any assumption about the content of an MVS, USS, or spool file. This would be the responsibility of Zowe Explorer extender extensions to interpret content and decide special behavior such as assuming a program language. Zowe Explorer right now looks at data set names and appends file extensions based on hard coded rules not allowing extenders to control for themselves how a file should be treated.

To Reproduce

  1. Create a PDS with COBOL in the name such as IBMUSER.SAMPLE.COBOL
  2. Add a JCL file to the data set
  3. Open the file: it has a .cbl file extension preventing a JCL language server VS Code extension to appropriately interpret its contents.

Expected behavior

Zowe Explorer should not make any assumptions about the files it opens; other than encodings in UNIX file tags etc.

Screenshots

Desktop (please complete the following information):

  • OS: all
  • Zowe Explorer Version: v1 to 3
  • (Optional) Zowe CLI Version:
  • (Optional) Are you using Secure Credential Store?

Additional context

@phaumer phaumer added the bug Something isn't working label Sep 19, 2024
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New Issues
Development

No branches or pull requests

1 participant