Unexpected events for single updateWorkspaceFolders operation #42639
Labels
bug
Issue identified by VS Code Team member as probable bug
debt
Code quality issues
verified
Verification succeeded
workbench-multiroot
Multi-root (multiple folders) issues
Milestone
testing #42195:
For this single operation I get these two events:
onDidChangeWorkspaceFolders: added: 0, removed: 3
onDidChangeWorkspaceFolders: added: 3, removed: 0
I would have expected to only receive a single event:
onDidChangeWorkspaceFolders: added: 2, removed: 2
(or even better a single changed event:
onDidChangeWorkspaceFolders: added: 0, removed: 0, changed: 2
)
Another case:
renaming a folder with this code:
results in two events too.
The text was updated successfully, but these errors were encountered: