Interface IDiagnosticsRefresher
- All Known Subinterfaces:
ISaveContext
- All Known Implementing Classes:
AbstractSaveContext,XMLExtensionsRegistry,XMLLanguageService,XMLTextDocumentService.SaveContext
public interface IDiagnosticsRefresher
Common API for triggering a diagnostics re-publish for a subset of open
documents.
Implemented by both:
ISaveContext— the save-triggered path: documents are accumulated across all participants and validated in a single pass at the end of the save context.XMLExtensionsRegistry— the async path: used by extensions that need to push diagnostics after a background event (e.g. workspace index scan completed) with no associated save event.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrefreshDiagnostics(Predicate<DOMDocument> filter) Schedules a diagnostics re-publication for all open documents accepted byfilter.
-
Method Details
-
refreshDiagnostics
Schedules a diagnostics re-publication for all open documents accepted byfilter.- Parameters:
filter- predicate applied to each openDOMDocument.
-