Skip to content

Listen to configuration change to refresh actions in Environment view#3097

Open
sebjulliand wants to merge 1 commit intomasterfrom
refreshActionsOnChange
Open

Listen to configuration change to refresh actions in Environment view#3097
sebjulliand wants to merge 1 commit intomasterfrom
refreshActionsOnChange

Conversation

@sebjulliand
Copy link
Member

Changes

If multiple VS Code are opened, when actions are changed from one VS Code window, the change is not reflected in the other windows.

This is an issue because the actions are "cached" in the view and this causes them to be out of sync with their actual state.

This PR fixes this by refreshing the actions whenever a change occur in the Code for i actions settings section.

How to test this PR

  1. Open two VS Code windows and connectboth to IBM i
  2. Expand the Environment view actions section in both window
  3. Make a change to actions in one window (delete, rename, create, edit ...)
  4. The change must be reflected in the other window as soon as the change is saved to the configuration

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand added this to the 3.0.0 milestone Mar 2, 2026
@sebjulliand sebjulliand requested a review from a team March 2, 2026 10:36
@sebjulliand sebjulliand self-assigned this Mar 2, 2026
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Mar 2, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

👋 A new build is available for this PR based on 29c4328.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant