collector.warn(localize('ViewContainerDoesnotExist',"View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",entry.key));
collector.error(localize('duplicateView1',"Cannot register multiple views with same id `{0}` in the view container `{1}`",item.id,container.id));
returnnull;
}
}
if(registeredViews.some(v=>v.id===item.id)){
letcontainer=this.getViewContainer(entry.key);
collector.error(localize('duplicateView2',"A view with id `{0}` is already registered in the view container `{1}`",item.id,container.id));
if(!container){
returnnull;
collector.warn(localize('ViewContainerDoesnotExist',"View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",entry.key));