MCPcopy Create free account
hub / github.com/microsoft/vscode-languageserver-node / refreshTrace

Function refreshTrace

client/src/client.ts:2813–2821  ·  view source on GitHub ↗
(connection: IConnection, sendNotification: boolean = false)

Source from the content-addressed store, hash-verified

2811 }
2812
2813 private refreshTrace(connection: IConnection, sendNotification: boolean = false): void {
2814 let config = Workspace.getConfiguration(this._id);
2815 let trace: Trace = Trace.Off;
2816 if (config) {
2817 trace = Trace.fromString(config.get('trace.server', 'off'));
2818 }
2819 this._trace = trace;
2820 connection.trace(this._trace, this._tracer, sendNotification);
2821 }
2822
2823
2824 private hookFileEvents(_connection: IConnection): void {

Callers

nothing calls this directly

Calls 3

getConfigurationMethod · 0.65
traceMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected