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

Method initialize

client/src/client.ts:1411–1419  ·  view source on GitHub ↗
(capabilities: ServerCapabilities, documentSelector: DocumentSelector)

Source from the content-addressed store, hash-verified

1409 }
1410
1411 public initialize(capabilities: ServerCapabilities, documentSelector: DocumentSelector): void {
1412 if (!capabilities.signatureHelpProvider || !documentSelector) {
1413 return;
1414 }
1415 this.register(this.messages, {
1416 id: UUID.generateUuid(),
1417 registerOptions: Object.assign({}, { documentSelector: documentSelector }, capabilities.signatureHelpProvider)
1418 });
1419 }
1420
1421 protected registerLanguageProvider(options: SignatureHelpRegistrationOptions): Disposable {
1422 let client = this._client;

Callers

nothing calls this directly

Calls 1

registerMethod · 0.65

Tested by

no test coverage detected