Table of Contents

Class SessionSignatureHelpParams

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

Request for rdcore/session/signatureHelp: a client asks the language server what the call being written at a position of a module it supplies takes - the signature help of a line typed at a prompt.

[Method("rdcore/session/signatureHelp", Direction.ClientToServer)]
public record SessionSignatureHelpParams : IRequest, IRequest<Unit>, IRequest<SignatureHelp?>, IBaseRequest, IEquatable<SessionSignatureHelpParams>
Inheritance
SessionSignatureHelpParams
Implements
IRequest
IRequest<Unit>
IRequest<SignatureHelp>
IBaseRequest
Inherited Members

Remarks

The counterpart to SessionCompletionParams for a signature help: an editor asks LSP's own textDocument/signatureHelp of a document it has open, and a shell has no document for the line it is typing. The answer is the one textDocument/signatureHelp answers with, of the module as it is supplied, or null where no call is being written.

Properties

Character

The zero-based character of Line the cursor is at, in UTF-16 code units: what is before it is the call being written.

public int Character { get; init; }

Property Value

int

Line

The zero-based line of Source the cursor is on.

public int Line { get; init; }

Property Value

int

ModuleName

The module's programmatic name: the module of the workspace by that name is the one the source stands for.

public string ModuleName { get; init; }

Property Value

string

Source

The complete source of the module, the line that is being typed in it.

public string Source { get; init; }

Property Value

string