Get all diagnostics for a given resource. Note that this includes diagnostics from all extensions but not yet from the task framework.
A resource
An array of diagnostics objects or an empty array.
Get all diagnostics. Note that this includes diagnostics from all extensions but not yet from the task framework.
An array of uri-diagnostics tuples or an empty array.
Get all diagnostics for a given resource. Note that this includes diagnostics from all extensions but not yet from the task framework.