Skip to content

Check for changes when user reopens data set or member #4347

@adam-wolfe

Description

@adam-wolfe

Is your feature request related to a problem? Please describe.

If I open a member with Zowe Explorer, then close it, when I reopen that member later in the same VS Code session, I may be working with a cached version of the member that does not match what is currently on the mainframe.

Describe the solution you'd like

Zowe Explorer should check for changes on the mainframe and download the latest contents when the user opens a data set or member in a tab.

If there are concerns about automatically downloading the latest version when reopening something, we could consider adding a prompt to tell the user that the file has changed on the mainframe, and then give the user the option to get the latest version or keep their cached version.

Describe alternatives you've considered

Use Pull from Mainframe, though I think it's fair to assume that if a user closes an editor tab for a member (which will require them to either save or discard any changes they may have made), and eventually reopens that member, a user will want to see contents that match what is on the mainframe.

Additional context

This may also be a valid suggestion for the USS and Jobs trees.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions