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 92 forks source link

Notify ZE Extensions of team config changes #2578

Open gejohnston opened 12 months ago

gejohnston commented 12 months ago

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

Zowe Explorer is able to detect that changes have been made to team configuration outside of ZE. ZE is able to respond accordingly. However, ZE extensions are not notified of such changes.

Describe the solution you'd like

Provide a means to notify ZE extensions when team configuration changes are detected.

Describe alternatives you've considered

Additional context

github-actions[bot] commented 12 months 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.

t1m0thyj commented 11 months ago

The onProfilesUpdate event was added to the Zowe Explorer API in 2.10 and provides a way for ZE Extensions to be notified of team config changes.

The CICS plug-in provides an example of how to use this event: https://github.com/zowe/vscode-extension-for-cics/blob/9c15337b9dde68c8be857a4380fcf7ab25a268f7/src/extension.ts#L84-L88

JTonda commented 10 months ago

Add a link to zowe explorer wiki in zowe docs for zowe explorer extending

JillieBeanSim commented 7 months ago

Should this be closed with the merge of the PR https://github.com/zowe/zowe-explorer-vscode/issues/2385 and the API @t1m0thyj spoke about or is there something else being requested here @gejohnston?

zFernand0 commented 7 months ago

There seems to be an recent issue with this behavior in 2.15.2

However, I do agree that the mechanism to notify extenders is technically available today 😋