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
159 stars 89 forks source link

Remove profile type and related info from an extender when uninstalled #2905

Open traeok opened 1 month ago

traeok commented 1 month ago

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

Currently, Zowe Explorer does not remove any profile type configurations from the schema. In addition, extender-contributed values in places such as local storage and favorites are not cleaned up after an extender is uninstalled.

Describe the solution you'd like

Zowe Explorer should handle clean up or expose utilities to do so when an extender is uninstalled. The extender uninstall hook is one potential option that extenders can contribute in their package.json.

Describe alternatives you've considered

Zowe Explorer can try to remove any profile types and related information contributed by an extender if it is no longer present, but this approach might be harder to implement as it could require iterating over all the extensions.

Additional context

github-actions[bot] commented 1 month ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.