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

JSDoc with tags not displaying properly in template files (correct in .ts) #2092

Open
1 of 2 tasks
jlemieux5 opened this issue Oct 7, 2024 · 0 comments
Open
1 of 2 tasks
Labels

Comments

@jlemieux5
Copy link

🐞 bug report

Is this a regression?

No

Description

JSDoc information of a component property or event should be displayed in template. But if the JSDoc has block tags such as @description, @see, etc the information is not displayed properly. The JSDoc information can be displayed properly in .ts file.

Sample JSDoc

`/**

Example in template ->

Image

Example in .ts file

Image

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

See my example above, to reproduce create a component, pipe, directive etc that utilises JSDoc tags and test in the template compared to the ts file.,

Expected behavior

Same hover behaviour as .ts file should occur in template

🌍 Your Environment

Angular Version:
18.2.2

Extension Version:
v18.1.2

VSCode Version:
Version: 1.94.0 (Universal)
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z (5 days ago)
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0

Operating System:
MacOS 14.6.1 (23G93)

Extension options:
Image

@jlemieux5 jlemieux5 added the bug label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant