VS Code `editor.edit` Blocking for Extended Period During Streaming Diff in Extension
I’m developing a VS Code extension that performs a streaming diff on a selected range of text. The extension receives new lines meant to replace the selected text from from a WebSocket connection and generates diff lines (“same”, “old”, “new”) and applies them to the active editor in real-time.