Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't bring up completion when deleting in an xml doc comment's text #74558

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

ToddGrun
Copy link
Contributor

C# backspace still brings up completion in xml doc comment attribute name/values, but not in xmltext or xmltag contexts (completion in the xmltag context behavior seems a bit buggy, so intentionally not bringing up in that context).

VB backspace actually behave a bit better in the xmldoc context, but had a separate issue in attribute value contexts which is addressed also.

Addresses #74417

C# backspace still brings up completion in xml doc comment attribute name/values, but not in xmltext or xmltag contexts (completion in the xmltag context behavior seems a bit buggy, so intentionally not bringing up in that context).

VB backspace actually behave a bit better in the xmldoc context, but had a separate issue in attribute value contexts which is addressed also.

Addresses dotnet#74417
@ToddGrun ToddGrun requested a review from a team as a code owner July 25, 2024 18:02
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 25, 2024
@@ -129,6 +129,10 @@ public override bool IsInsertionTrigger(SourceText text, int characterPosition,
// too aggressive at suggesting tags, so exit early before degrading the experience
return null;
}
else if (trigger.Kind == CompletionTriggerKind.Deletion)
Copy link
Member

Choose a reason for hiding this comment

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

maybe doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to prevent visual studio from inserting <see langword=""/> in comments
4 participants