Skip to content

(bug/improvement) Ignore doc comment tags inside code block. #118977

@infacto

Description

@infacto

Description

IntelliSense should ignore doc comments tags @anything in code blocks.

/**
 * The best decorator ever made.
 * 
 * @todo Fix the "@" bug in code block.
 * 
 * @example
 *
 * ```ts
 * class MyComponent {
 *   @SomeDecorator() myValue = 42;
 * }
 * ```
 */

 export function SomeDecorator() {}

vscode-issue

And as bonus the code block should styled with a code block looking. Like in Markdown files.

Info

Version: 1.54.2 (user setup)
Commit: fd6f3bce6709b121a895d042d343d71f317d74e7
Date: 2021-03-11T00:56:19.848Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042

Metadata

Metadata

Assignees

Labels

typescriptTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions