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
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Unique identifier for this registration, used to unregister it later. | packages/core/src/protocol/dynamic-registration.ts:12 |
method | string | The LSP method this registration applies to. | packages/core/src/protocol/dynamic-registration.ts:14 |
registerOptions? | unknown | Optional method-specific registration options. | packages/core/src/protocol/dynamic-registration.ts:16 |