diff --git a/src/vs/workbench/api/electron-browser/mainThreadDiagnostics.ts b/src/vs/workbench/api/electron-browser/mainThreadDiagnostics.ts index 5051aabba45677bc525b02540115431639352470..f91e284ea2a70c3d214007093d11c0b586f1e244 100644 --- a/src/vs/workbench/api/electron-browser/mainThreadDiagnostics.ts +++ b/src/vs/workbench/api/electron-browser/mainThreadDiagnostics.ts @@ -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);