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

@ character in code block renders poorly in tooltip #49273

Open
hfhchan opened this issue May 26, 2022 · 6 comments
Open

@ character in code block renders poorly in tooltip #49273

hfhchan opened this issue May 26, 2022 · 6 comments
Labels
Bug A bug in TypeScript Help Wanted You can do this
Milestone

Comments

@hfhchan
Copy link

hfhchan commented May 26, 2022

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.67.2 (Universal)
  • OS Version: Darwin arm64 21.4.0

Steps to Reproduce:

When having this chunk of source code:

/**
 * Description of CursorClass
 *
 * Example Usage:
 * 
 * ````ts
 * @IsCursor(CursorClass)
 * cursor?: CursorClass | null;
 * ````
 */

VSCode renders as this:
image

It should render as this:
image

@gjsjohnmurray
Copy link

Please update the issue title. Ampersand means &. The character @ is the At sign.

@hfhchan hfhchan changed the title Ampersand in jsdoc throws off VSCode At sign in jsdoc throws off VSCode May 26, 2022
@hfhchan
Copy link
Author

hfhchan commented May 26, 2022

Sorry, brain fart 😂

@mjbvz mjbvz transferred this issue from microsoft/vscode May 26, 2022
@mjbvz
Copy link
Contributor

mjbvz commented May 26, 2022

Related issues: #43580, #39371

@mjbvz mjbvz removed their assignment May 26, 2022
@fatcerberus
Copy link

I keep reading the title of this issue as “At sign-in, JSDoc throws off VSCode” and getting really confused for a minute.

@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Help Wanted You can do this labels Jun 1, 2022
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jun 1, 2022
@RyanCavanaugh RyanCavanaugh changed the title At sign in jsdoc throws off VSCode @ character in code block renders poorly in tooltip Jun 1, 2022
@graphemecluster
Copy link
Contributor

Duplicate of #48976. 😢

@KostyaTretyak
Copy link

By the way, this behavior is observed only if there are no characters other than a space before the @ symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

7 participants