zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 91 forks source link

Cannot access a dataset which is an alias #2699

Open closerthanmost opened 9 months ago

closerthanmost commented 9 months ago

I have a dataset on z/os, let's say my.dataset.clist I have lots of REXX members in this which vscode doesn't recognise as REXX because of the dataset name, so I have set up an alias of my.dataset.clist.exec to point to it.

When I navigate to the alias, I get the following

image

To Reproduce

Expected behavior

Show the members from the my.dataset.clist(.exec)

Screenshots image

Desktop (please complete the following information):

github-actions[bot] commented 9 months ago

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.

JillieBeanSim commented 9 months ago

Hey @closerthanmost, sorry for the inconvenience of not being able to open the files using an alias with Zowe Explorer. It looks like the original issue was the files weren't recognized as REXX in the dataset before you changed to an alias. VS Code has ways to change the syntax highlighting of files that are being recognized as something else, this will require having a VS Code extension with REXX LSP for the REXX option to show in the language selection list. VSC status bar:

Screenshot 2024-02-02 at 7 33 57 AM

Command Pallet:

Screenshot 2024-02-02 at 7 33 40 AM

Next screen after one of above with language selection:

Screenshot 2024-02-02 at 7 34 12 AM

The issue with using an alias will need to be investigated. If you can recreate, it would help to have as much info as possible for recreation steps and if you could share an image of the error in screen shot expanded to see full error that would help.
Thanks 😄

upd: I see that you have the ZE version shown as 2.9.0. Are you able to update to the latest 2.14.0 to see if the issue persists?

zFernand0 commented 8 months ago

Hey all, I just wanted to provide some details on the current level of support in terms of aliases for bot the CLI and Zowe Explorer (ZE) You won't believe what I discovered! 😋 (a bit of clickbait to peek your interest😉)

Following CRUD:

Create

Read

Update

Delete

zFernand0 commented 8 months ago

Opened the following issue for better support across the board: