Skip to content

Offer href as completion attribute for <see/> doc comments#52342

Merged
sharwell merged 3 commits intodotnet:mainfrom
Youssef1313:href-completion
Apr 2, 2021
Merged

Offer href as completion attribute for <see/> doc comments#52342
sharwell merged 3 commits intodotnet:mainfrom
Youssef1313:href-completion

Conversation

@Youssef1313
Copy link
Member

Fixes #37504

@Youssef1313 Youssef1313 requested a review from a team as a code owner April 1, 2021 19:00
@ghost ghost added the Area-IDE label Apr 1, 2021
@jinujoseph jinujoseph added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Apr 1, 2021
Copy link
Contributor

@sharwell sharwell left a comment

Choose a reason for hiding this comment

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

Needs to be added for <seealso>

Comment on lines 53 to +57
new[] { SeeElementName, CrefAttributeName, $"{CrefAttributeName}=\"", "\"" },
new[] { SeeElementName, LangwordAttributeName, $"{LangwordAttributeName}=\"", "\"" },
new[] { SeeElementName, HrefAttributeName, $"{HrefAttributeName}=\"", "\"" },
new[] { SeeAlsoElementName, CrefAttributeName, $"{CrefAttributeName}=\"", "\"" },
new[] { SeeAlsoElementName, HrefAttributeName, $"{HrefAttributeName}=\"", "\"" },
Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated: Should langword be offered in <seealso/>?

Copy link
Contributor

Choose a reason for hiding this comment

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

no, langword is just for see

@sharwell sharwell enabled auto-merge April 1, 2021 20:04
@sharwell sharwell merged commit 710b5c3 into dotnet:main Apr 2, 2021
@ghost ghost added this to the Next milestone Apr 2, 2021
@Youssef1313 Youssef1313 deleted the href-completion branch April 2, 2021 04:01
@dibarbet dibarbet modified the milestones: Next, 16.10.P3 Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'href' should be offered as a completion attribute for 'see'

4 participants