extensions/markdown-language-features/src/languageFeatures/diagnostics.ts/DiagnosticManager/rebuild
class DiagnosticManager:	private rebuild(): Promise<void> {
		this.reporter.clear();
		this.pendingDiagnostics.clear();
		this.inFlightDiagnostics.clear();

		return this.reporter.addWorkItem(
			Promise.all(Array.from(this.reporter.getOpenDocuments(), doc => this.triggerDiagnostics(doc.uri)))
		);
	}