You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean up stale ourSelections to not indefinitely ignore external selection changes (#9644)
- Add updatedAt timestamps to ourSelections (now named ourSelectionsUpdates)
- During selection change handler, clean up ourSelectionsUpdates older than 1s, which
should have already triggered selection change events
- This prevents external selection updates from being ignored for too long when internal
updates have been misguidedly added to ourSelections (which is hard to fully avoid due
to vscode.editor.selections unreliability)
Fixes#8903, fixes#5746, fixes#5555, fixes: #8765
0 commit comments