this.navbar.push(NavbarSection.Readme,localize('details',"Details"),localize('detailstooltip',"Extension details, rendered from the extension's 'README.md' file"));
if(extension.extensionPack.length){
if(extension.hasReadme()){
this.navbar.push(NavbarSection.ExtensionPack,localize('extensionPack',"Extension Pack"),localize('extensionsPack',"Set of extensions that can be installed together"));
this.navbar.push(NavbarSection.Readme,localize('details',"Details"),localize('detailstooltip',"Extension details, rendered from the extension's 'README.md' file"));
}
this.navbar.push(NavbarSection.Contributions,localize('contributions',"Contributions"),localize('contributionstooltip',"Lists contributions to VS Code by this extension"));
this.navbar.push(NavbarSection.Changelog,localize('changelog',"Changelog"),localize('changelogtooltip',"Extension update history, rendered from the extension's 'CHANGELOG.md' file"));
if(extension.dependencies.length){
this.navbar.push(NavbarSection.Dependencies,localize('dependencies',"Dependencies"),localize('dependenciestooltip',"Lists extensions this extension depends on"));
}
}
this.extensionManifest.get()
.then(manifest=>{
if(extension.extensionPack.length){
this.navbar.push(NavbarSection.ExtensionPack,localize('extensionPack',"Extension Pack"),localize('extensionsPack',"Set of extensions that can be installed together"));
}
if(manifest.contributes){
this.navbar.push(NavbarSection.Contributions,localize('contributions',"Contributions"),localize('contributionstooltip',"Lists contributions to VS Code by this extension"));
}
if(extension.hasChangelog()){
this.navbar.push(NavbarSection.Changelog,localize('changelog',"Changelog"),localize('changelogtooltip',"Extension update history, rendered from the extension's 'CHANGELOG.md' file"));
}
if(extension.dependencies.length){
this.navbar.push(NavbarSection.Dependencies,localize('dependencies',"Dependencies"),localize('dependenciestooltip',"Lists extensions this extension depends on"));