vscode-extension-for-zowe icon indicating copy to clipboard operation
vscode-extension-for-zowe copied to clipboard

Notify ZE Extensions of team config changes

Open gejohnston opened this issue 1 year ago • 5 comments

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

gejohnston avatar Nov 15 '23 17:11 gejohnston

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.

github-actions[bot] avatar Nov 15 '23 17:11 github-actions[bot]

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

t1m0thyj avatar Nov 17 '23 16:11 t1m0thyj

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

JTonda avatar Jan 02 '24 16:01 JTonda

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?

JillieBeanSim avatar Apr 08 '24 16:04 JillieBeanSim

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

  • https://github.com/zowe/zowe-explorer-vscode/issues/2822

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

zFernand0 avatar Apr 09 '24 13:04 zFernand0