Skip to content

lspeasy / core/src / DynamicRegistration

Interface: DynamicRegistration

Defined in: packages/core/src/protocol/dynamic-registration.ts:10

A single LSP dynamic capability registration entry.

Remarks

Sent by the server in a client/registerCapability request. The id is used later to unregister the capability via client/unregisterCapability.

Properties

PropertyTypeDescriptionDefined in
idstringUnique identifier for this registration, used to unregister it later.packages/core/src/protocol/dynamic-registration.ts:12
methodstringThe LSP method this registration applies to.packages/core/src/protocol/dynamic-registration.ts:14
registerOptions?unknownOptional method-specific registration options.packages/core/src/protocol/dynamic-registration.ts:16

Released under the MIT License.