mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user