Skip to content

[html] completions: better handle unclosed string literals #273226

@vbeffa

Description

@vbeffa

Type: Bug

Given the code

<th><input type="che</th> with the cursor after che, typing ctrl-space and then selecting "checkbox" deletes the text after, leaving just <th><input type="checkbox.

VS Code version: Code 1.105.1 (Universal) (7d842fb, 2025-10-14T22:33:36.618Z)
OS version: Darwin x64 21.6.0
Modes:

Screen.Recording.2025-10-24.at.6.36.25.PM.mov

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitieshtmlHTML support issuesverification-foundIssue verification failed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions