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

Allow <code> in DocComments to render as a block in Hover response #75215

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

JoeRobich
Copy link
Member

As noticed in #75181, <code> from DocComment always renders inline even if it represents a block of code.

Before:
image

After:
image

In order to have highlighting, we will need to pass along the code blocks lang attribute with the TaggedText.

@JoeRobich JoeRobich requested a review from a team as a code owner September 24, 2024 08:38
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 24, 2024
@sharwell
Copy link
Member

Note that this feature was originally implemented in #35667 for Visual Studio. I believe the change here is only related to LSP clients.

Can we get tests added for the new behavior?

Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

4 participants