OptionalonChange?: booleanOptionalonFocus?: booleanWhether to pull for diagnostics on editor focus.
OptionalonSave?: booleanWhether to pull for diagnostics on document save.
OptionalonTabs?: booleanWhether to pull for diagnostics on resources of non instantiated tabs. If it is set to true it is highly recommended to provide a match method as well. Otherwise the client will not pull for tabs if the used document selector specifies a language property since the language value is not known for resources.
An optional filter method that is consulted when triggering a diagnostic pull during document change, document save or editor focus.
The document gets filtered if the method returns true.
The document that changed or got saved.
The pull mode.
whether the document should be filtered (true) or not.
An optional match method that is consulted when pulling for diagnostics when only a URI is known (e.g. for not instantiated tabs)
The method should return true if the document selector matches the
given resource. See also the vscode.languages.match function.
The document selector.
The resource.
whether the resource is matched by the given document selector.
Whether to pull for diagnostics on document change.