Open
Description
Does this issue occur when all extensions are disabled?:
Yes and No. The issue occurs when a single LSP extension takes a while to return completion results (even if those results are empty). I have disabled all installed extensions other than the modified lsp-sample from vscode-extension-samples
Version: 1.100.2 (Universal)
Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e
Date: 2025-05-14T21:47:40.416Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Steps to Reproduce:
- Clone https://github.com/atscott/lsp-example-completions. This is the lsp-sample with small edits to demonstrate the behavior
- Install dependencies:
npm i
- compile: 'npm run compile'
- Launch the client
- Open an HTML file and make its contents be:
<div class="something"></div>
<div class="something"></div>
- Go to the second "something" text and ctrl+backspace it and type "so" in quick succession
- Accept the "something" completion item when it appears and notice that the editor clobbers the closing quote
characterClobberDemo.mov
If this is expected for some reason, I would expect that at least the documentation needs to be updated to describe how to handle this correctly in the extension. I would not expect to reproduce this so easily with the lsp sample.