Skip to content

Remove inline tags when edits intersect them.#48792

Merged
4 commits merged intodotnet:masterfrom
CyrusNajmabadi:cutTagsOnEdit
Oct 22, 2020
Merged

Remove inline tags when edits intersect them.#48792
4 commits merged intodotnet:masterfrom
CyrusNajmabadi:cutTagsOnEdit

Conversation

@CyrusNajmabadi
Copy link
Contributor

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner October 20, 2020 18:10
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

var hints = await service.GetInlineHintsAsync(document, snapshotSpan.Span.ToTextSpan(), cancellationToken).ConfigureAwait(false);
foreach (var hint in hints)
{
// If we don't have any text to actually show the user, then don't make a tag.
Copy link
Member

Choose a reason for hiding this comment

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

What scenario is this helping?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

when you have an error type. i thought about filtering closer to the symbol. But i prefer at this level because it means all empty tags will be stripped out.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team October 20, 2020 20:45
Copy link
Member

@davidwengier davidwengier left a comment

Choose a reason for hiding this comment

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

Seems simple enough ¯\_(ツ)_/¯

@ghost
Copy link

ghost commented Oct 20, 2020

Hello @CyrusNajmabadi!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@ghost ghost merged commit 53f4587 into dotnet:master Oct 22, 2020
@ghost ghost added this to the Next milestone Oct 22, 2020
@allisonchou allisonchou modified the milestones: Next, 16.9.P2 Nov 24, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the cutTagsOnEdit branch April 11, 2021 18:23
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants