Add title for jsdoc symbol links

Fixes #279417
This commit is contained in:
Matt Bierner
2025-11-25 10:58:36 -08:00
parent ca97995de9
commit 22ce98c190

View File

@@ -163,7 +163,7 @@ function convertLinkTags(
const command = `command:${OpenJsDocLinkCommand.id}?${encodeURIComponent(JSON.stringify([args]))}`;
const linkText = currentLink.text ? currentLink.text : escapeMarkdownSyntaxTokensForCode(currentLink.name ?? '');
out.push(`[${currentLink.linkcode ? '`' + linkText + '`' : linkText}](${command})`);
out.push(`[${currentLink.linkcode ? '`' + linkText + '`' : linkText}](${command} "${vscode.l10n.t('Open symbol link')}")`);
} else {
const text = currentLink.text ?? currentLink.name;
if (text) {