createDiagnosticsFor

Returns a reference to existing diagnostics for a given url in a given slot or creates a new array for them and returns the reference for it.

ref
createDiagnosticsFor
(
int slot
)
(
string uri
)

Parameters

slot

the diagnostic provider slot to edit

uri string

the document uri to attach the diagnostics array for

Meta