[x] I have tried restarting VS Code or running Vetur: Restart VLS
Info
Platform: Windows 10
Vetur version: 0.36.0
VS Code version: 1.70.2
Problem
JSDoc from an imported javascript file is not completely correctly displayed.
When using backticks inside the description of a @param of a plain function, they will be displayed as-is. This only happens in .vue files when importing from plain javascript files. Doing the same thing in another javascript file makes the JSDoc display correctly.
For other tags including @returns and @template this is working correctly. This problem only exists for @param.
Compare these:
Reproducible Case
In your Vue project, creating a plain javascript file
Add a function with JSDoc, and make sure to also add @param descriptions, as you should ;)
Put any backticked word in there.
Import this function in a .vue file.
Try using the function, pressing Ctrl+Shift+Space if neccesary to pop up the JSDoc.
Vetur: Restart VLS
Info
Problem
JSDoc from an imported javascript file is not completely correctly displayed.
When using backticks inside the description of a
@param
of a plain function, they will be displayed as-is. This only happens in .vue files when importing from plain javascript files. Doing the same thing in another javascript file makes the JSDoc display correctly.For other tags including
@returns
and@template
this is working correctly. This problem only exists for@param
.Compare these:
Reproducible Case
@param
descriptions, as you should ;)backticked
word in there.