mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 01:35:36 -05:00
Adds vscode issue TODO
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user