Parse resource uri of related information data

This commit is contained in:
Sandeep Somavarapu
2018-03-20 12:25:23 +05:30
parent 79ffad1536
commit 2cd29c428c

View File

@@ -29,6 +29,13 @@ export class MainThreadDiagnostics implements MainThreadDiagnosticsShape {
$changeMany(owner: string, entries: [UriComponents, IMarkerData[]][]): void {
for (let entry of entries) {
let [uri, markers] = entry;
for (const marker of markers) {
if (marker.relatedInformation) {
for (const relatedInformation of marker.relatedInformation) {
relatedInformation.resource = URI.revive(relatedInformation.resource);
}
}
}
this._markerService.changeOne(owner, URI.revive(uri), markers);
}
this._activeOwners.add(owner);