mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Add link to package homepage in package.json files
Displayed at the bottom of the box that appears when hovering over a package name
This commit is contained in:
parent
7ed2a1d3d7
commit
6d25151513
|
@ -288,6 +288,9 @@ export class PackageJSONContribution implements IJSONContribution {
|
|||
if (latest) {
|
||||
result.push(localize('json.npm.version.hover', 'Latest version: {0}', latest));
|
||||
}
|
||||
if (obj.homepage) {
|
||||
result.push(obj.homepage);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue