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

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

Merged
merged 3 commits into from
Apr 2, 2021

Conversation

Youssef1313
Copy link
Member

Fixes #37504

@Youssef1313 Youssef1313 requested a review from a team as a code owner April 1, 2021 19:00
@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
Member

@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
Member

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