See also https://github.com/microsoft/vscode-dotnettools/issues/1020#issuecomment-2783896183 When the complex completion item is selected from the list using the mouse (but *not* highlighted), the complex edit does not apply. However, if the item is first highlighted via the keyboard, then selected via a mouse click, the complex edit applies.