dotnet / dotnet/docs-tools

[xref-helper] Inline displayProperty fixer broken when line contains multiple xref links

Open
#572 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
27
Forks
43
Avg merge
13h 27m
Merged PRs (30d)
21

Description

The light bulb displayProperty fixer changes the last xref link in the following sentence, not the one where the cursor is:

```markdown
and have been marked as obsolete in favor of using and .
```

Worse, if the last xref doesn't have a displayProperty parameter (as in the following sentence) and you use the light bulb to change the displayProperty, everything after the second-last xref is deleted:

```markdown
These have been marked as obsolete in favor of using and .
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.