diff --git a/src/annotations/annotationController.ts b/src/annotations/annotationController.ts index 995513e..7d81f95 100644 --- a/src/annotations/annotationController.ts +++ b/src/annotations/annotationController.ts @@ -233,6 +233,7 @@ export class AnnotationController extends Disposable { for (const [key, p] of this._annotationProviders) { if (!TextDocumentComparer.equals(p.document, e.document)) continue; + // TODO: Rework this once https://github.com/Microsoft/vscode/issues/27231 is released in v1.13 // We have to defer because isDirty is not reliable inside this event setTimeout(() => { // If the document is dirty all is fine, just kick out since the GitContextTracker will handle it diff --git a/src/git/gitContextTracker.ts b/src/git/gitContextTracker.ts index f40b547..6b21d07 100644 --- a/src/git/gitContextTracker.ts +++ b/src/git/gitContextTracker.ts @@ -75,6 +75,7 @@ export class GitContextTracker extends Disposable { // this._unsubscribeToDocumentChanges(); // this.updateBlameability(false); + // TODO: Rework this once https://github.com/Microsoft/vscode/issues/27231 is released in v1.13 // We have to defer because isDirty is not reliable inside this event setTimeout(() => this._updateBlameability(!e.document.isDirty), 1); } diff --git a/src/gitService.ts b/src/gitService.ts index 7962968..ca77d87 100644 --- a/src/gitService.ts +++ b/src/gitService.ts @@ -214,6 +214,7 @@ export class GitService extends Disposable { if (!this.UseCaching) return; if (e.document.uri.scheme !== DocumentSchemes.File) return; + // TODO: Rework this once https://github.com/Microsoft/vscode/issues/27231 is released in v1.13 // We have to defer because isDirty is not reliable inside this event setTimeout(() => { // If the document is dirty all is fine, we'll just wait for the save before clearing our cache