publicasyncprovideDocumentSymbols(resource:TextDocument,token:CancellationToken):Promise<any[]>{// todo@joh `any[]` temporary hack to make typescript happy...
template.label.set(element.symbol.name,element.score?createMatches(element.score[1]):undefined,localize('outline.title',"line {0} in {1}",element.symbol.location.range.startLineNumber,getPathLabel(element.symbol.location.uri,this._contextService,this._environmentService)));