Skip to content

Fix extra character insertion during attribute completion in VS Code#12177

Merged
davidwengier merged 8 commits intodotnet:mainfrom
davidwengier:VSCodeAttributeCompletion
Sep 5, 2025
Merged

Fix extra character insertion during attribute completion in VS Code#12177
davidwengier merged 8 commits intodotnet:mainfrom
davidwengier:VSCodeAttributeCompletion

Conversation

@davidwengier
Copy link
Copy Markdown
Member

@davidwengier davidwengier commented Sep 4, 2025

Bug: microsoft/vscode-dotnettools#2296
Seems to fix dotnet/vscode-csharp#7678 but there might be a reason @alexgav didn't close it, so I'm leaving it open.

In #11681 Alex made it so we didn't advertise broadly applicable commit characters in VS Code, which fixed the above issues for Html attributes, but we were still adding explicit commit characters to Razor completion items. This fixes that.This is not relevant to the issue, just annoyed me today :)

First commit is irrelevant, just something I noticed filled up our logs. Fifth commit is annoyingly large, as it's a rename of a flag that was already used for two purposes, but now it's at least 99% used for commit characters, and only once used for trigger characters. Logged #12176 for a bit of a follow up there.

Copy link
Copy Markdown
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@davidwengier davidwengier merged commit 93db9ca into dotnet:main Sep 5, 2025
11 checks passed
@davidwengier davidwengier deleted the VSCodeAttributeCompletion branch September 5, 2025 00:48
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Sep 5, 2025
@akhera99 akhera99 modified the milestones: Next, 18.0 P1, 18.0 P2 Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Entering HTML attributes inserts extra characters

4 participants