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

VS Code Comment body display change #65

Open
alexr00 opened this issue Jan 26, 2022 · 0 comments
Open

VS Code Comment body display change #65

alexr00 opened this issue Jan 26, 2022 · 0 comments

Comments

@alexr00
Copy link

alexr00 commented Jan 26, 2022

Hello 👋

I work on the commenting API in VS Code, and I'm opening this issue because this repository contains usages of the commenting API.

We recently noticed that even though a Comment's body can be string | MarkdownString we're always displaying it as a MarkdownString (issue). The upcoming 1.64 release will fix that: when a comment body is a string it will be displayed as a plain string and not as markdown. As a user of the the commenting API, this project may be affected by this.

If this project does wish to keep displaying comment body as Markdown, simply create a new MarkdownString and use that as the comment body:

comment.body = new vscode.MarkdownString(body);

It's also possible that this project doesn't rely on the incorrect display behavior and that this issue can be disregarded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant