MCPcopy
hub / github.com/microsoft/vscode-languageserver-node / handleDiagnostics

Function handleDiagnostics

client/src/client.ts:2742–2749  ·  view source on GitHub ↗
(params: PublishDiagnosticsParams)

Source from the content-addressed store, hash-verified

2740 }
2741
2742 private handleDiagnostics(params: PublishDiagnosticsParams) {
2743 if (!this._diagnostics) {
2744 return;
2745 }
2746 let uri = this._p2c.asUri(params.uri);
2747 let diagnostics = this._p2c.asDiagnostics(params.diagnostics);
2748 this._diagnostics.set(uri, diagnostics);
2749 }
2750
2751 protected abstract createMessageTransports(encoding: string): Thenable<MessageTransports>;
2752

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
asUriMethod · 0.65
asDiagnosticsMethod · 0.65

Tested by

no test coverage detected