mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
[json] hover in JSON documents hides '*', fixes #8068
This commit is contained in:
@@ -219,10 +219,10 @@ export class ProjectJSONContribution implements JSONWorkerContribution {
|
||||
this.addCached(res.id, res.version, res.description);
|
||||
if (res.id === pack) {
|
||||
if (res.description) {
|
||||
htmlContent.push(res.description);
|
||||
htmlContent.push({ language: 'string', value: res.description });
|
||||
}
|
||||
if (res.version) {
|
||||
htmlContent.push(localize('json.nugget.version.hover', 'Latest version: {0}', res.version));
|
||||
htmlContent.push({ language: 'string', value: localize('json.nugget.version.hover', 'Latest version: {0}', res.version)});
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user