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 tries to parse JSDoc tags with @ symbol even in code examples #52081

Closed
KostyaTretyak opened this issue Dec 30, 2022 · 1 comment
Closed

Comments

@KostyaTretyak
Copy link

KostyaTretyak commented Dec 30, 2022

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

  • VS Code Version: 1.74.2
  • OS Version: Ubuntu 22.04

Steps to Reproduce:

  1. Write JSDocs with TypeScript decorators, like this:
/**
 * Here code example with TypeScript decorator:
 * 
 * ```ts
 * import { Injectable } from '@angular/core';
 * 
 * @Injectable()
 * class MyService {}
 * ```
 */
let some: any;
  1. Incorrectly displays:

Screenshot from 2022-12-30 12-33-53

@KostyaTretyak KostyaTretyak changed the title VS Code trying parses JSDoc tags with @ symbol even in code examples VS Code trying to parse JSDoc tags with @ symbol even in code examples Dec 30, 2022
@KostyaTretyak KostyaTretyak changed the title VS Code trying to parse JSDoc tags with @ symbol even in code examples VS Code tries to parse JSDoc tags with @ symbol even in code examples Dec 30, 2022
@mjbvz mjbvz transferred this issue from microsoft/vscode Jan 3, 2023
@mjbvz mjbvz removed their assignment Jan 24, 2023
@mjbvz
Copy link
Contributor

mjbvz commented Jan 24, 2023

Duplicate of #49273

@mjbvz mjbvz marked this as a duplicate of #49273 Jan 24, 2023
@mjbvz mjbvz closed this as completed Jan 24, 2023
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

2 participants