Open DaveyJake opened 3 days ago
Moving to TS since we'd need the jsdoc tag structure to be returned in a consistent way. Here's it for:
/**
* @param x abc
* @property y xyz
*/
const a = '';
"tags": [
{
"name": "param",
"text": [
{
"text": "x",
"kind": "parameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "abc",
"kind": "text"
}
]
},
{
"name": "property",
"text": [
{
"text": "y xyz",
"kind": "text"
}
]
}
]
Does anyone know if it is possible to modify VSCode Intellisense for JSDoc and TSDoc tags? I have always been bothered by the way VSCode handles certain JS/TS doc tags and I just cannot handle it anymore.
As trivial as it might sound, when documenting custom
interface
andtype
definitions, I just want the@property
tag to be formatted in the same manner as the@param
tag. The following screen shots illustrate my issue:Notice the emdash
—
between the@property
tags and the keys being described above?See how it's placed after the
@param
tags and the respective keys?If this feature cannot be implemented, does anyone know of any extensions that already do this or which files need to be modified to make this change?
Any advice would be much appreciated. Cheers 🍻