onDidChangeDiagnostics

An Event which fires when the global set of diagnostics changes. This is newly added and removed diagnostics.

Online Documentation