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

Function computeClientCapabilities

client/src/client.ts:2903–2911  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2901 }
2902
2903 private computeClientCapabilities(): ClientCapabilities {
2904 let result: ClientCapabilities = {};
2905 ensure(result, 'workspace')!.applyEdit = true;
2906 ensure(ensure(result, 'workspace')!, 'workspaceEdit')!.documentChanges = true;
2907 for (let feature of this._features) {
2908 feature.fillClientCapabilities(result);
2909 }
2910 return result;
2911 }
2912
2913 private initializeFeatures(_connection: IConnection): void {
2914 let documentSelector = this._clientOptions.documentSelector;

Callers

nothing calls this directly

Calls 2

ensureFunction · 0.70

Tested by

no test coverage detected