Table of Contents

Class RDCorePlatformProtocol

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.Protocol.dll

The names of the methods of the RDCore platform's own protocol (rdcore/) that a client sends or answers, which travel on the same JSON-RPC connection as LSP: the handshake, those a client sends the language server (rdcore/session/), and those the language server sends a client.

public static class RDCorePlatformProtocol
Inheritance
RDCorePlatformProtocol
Inherited Members

Remarks

The language server serves a rdcore/session/* request with the component that owns what it asks about - the environment host, for the runtime session and the program it runs - over methods of its own that no client sends (RDCoreComponentProtocol, in RDCore.SDK).

Fields

ListSettingValue

Asks the client to add an item to the list of a setting, or to remove one from it, in the user's settings of the platform or in a workspace's. A request the language server sends.

public const string ListSettingValue = "rdcore/settings/listValue"

Field Value

string

PlatformInitialize

The platform handshake: what a client says it expects of the component it connected to, once LSP's initialize is answered, and is answered what that component provides.

public const string PlatformInitialize = "rdcore/platform/initialize"

Field Value

string

RefactorApply

Asks the language server for the edit a refactoring of a document's range makes with its user's answers, which the client applies.

public const string RefactorApply = "rdcore/refactor/apply"

Field Value

string

RefactorCheckIdentifier

Asks the language server about an identifier the user is typing for a refactoring of a document's range, before it is applied: whether it can be declared where the refactoring declares it, and what it would hide.

public const string RefactorCheckIdentifier = "rdcore/refactor/checkIdentifier"

Field Value

string

RefactorPrepare

Asks the language server what a refactoring of a document's range asks its user, and what it refuses or would change, before it is applied: sent by a client that expects the Refactoring capability.

public const string RefactorPrepare = "rdcore/refactor/prepare"

Field Value

string

RubberduckIndenterSettings

Asks the client for the indenter settings its user had in Rubberduck, as Rubberduck has them. A request the language server sends.

public const string RubberduckIndenterSettings = "rdcore/formatting/indenterSettings"

Field Value

string

RubberduckIndenterSettingsApply

Asks the client to take the Formatting settings the language server mapped from Rubberduck's indenter settings as its own. A request the language server sends.

public const string RubberduckIndenterSettingsApply = "rdcore/formatting/indenterSettings/apply"

Field Value

string

SemanticsDescribe

Asks the language server what the name or expression written at a position of a document is: the symbol it binds to, and the facts of the expression. See SemanticsDescribeParams.

public const string SemanticsDescribe = "rdcore/semantics/describe"

Field Value

string

SemanticsOutline

Asks the language server for the outline of a document's module: its declarations and their members, in the order they are written. See SemanticsOutlineParams.

public const string SemanticsOutline = "rdcore/semantics/outline"

Field Value

string

SessionAnalyze

Asks the language server to analyze a module the client supplies.

public const string SessionAnalyze = "rdcore/session/analyze"

Field Value

string

SessionCommands

Registers the verbs of a client's own commands with the language server, described, which completes them as they are typed.

public const string SessionCommands = "rdcore/session/commands"

Field Value

string

SessionCompletion

Asks the language server what can be written at a position of a module the client supplies.

public const string SessionCompletion = "rdcore/session/completion"

Field Value

string

SessionDebugBreakpoints

Asks the language server to set the lines of a module that a program under a debugger waits at.

public const string SessionDebugBreakpoints = "rdcore/session/debug/breakpoints"

Field Value

string

SessionDebugEditStatus

Asks the language server which edits made while a program waits are not applied to it: what resuming it would be refused for.

public const string SessionDebugEditStatus = "rdcore/session/debug/editStatus"

Field Value

string

SessionDebugErrorBreak

Asks the language server to set which run-time errors a program under a debugger waits at. See SessionDebugErrorBreakParams.

public const string SessionDebugErrorBreak = "rdcore/session/debug/errorBreak"

Field Value

string

SessionDebugEvaluate

Asks the language server for the value of an expression, as text, in an activation of the program that waits.

public const string SessionDebugEvaluate = "rdcore/session/debug/evaluate"

Field Value

string

SessionDebugExecute

Asks the language server to run a statement, as text, in an activation of the program that waits.

public const string SessionDebugExecute = "rdcore/session/debug/execute"

Field Value

string

SessionDebugGoto

Asks the language server to move the point the program that waits goes on from.

public const string SessionDebugGoto = "rdcore/session/debug/goto"

Field Value

string

SessionDebugPause

Asks the language server to stop the program that is running where it is, so that it waits.

public const string SessionDebugPause = "rdcore/session/debug/pause"

Field Value

string

SessionDebugResume

Asks the language server to resume, or step, the program a client ran under a debugger.

public const string SessionDebugResume = "rdcore/session/debug/resume"

Field Value

string

SessionDebugStack

Asks the language server for the call stack of the program that waits.

public const string SessionDebugStack = "rdcore/session/debug/stack"

Field Value

string

SessionDebugStopped

Tells a client that the handler of an event stopped while no program runs, and waits there: sent to a client that expects the SessionStops capability. See SessionDebugStoppedParams.

public const string SessionDebugStopped = "rdcore/session/debug/stopped"

Field Value

string

SessionDebugTerminate

Asks the language server to end the program that is running or waits.

public const string SessionDebugTerminate = "rdcore/session/debug/terminate"

Field Value

string

SessionDebugVariables

Asks the language server for the variables of an activation of the program that waits.

public const string SessionDebugVariables = "rdcore/session/debug/variables"

Field Value

string

SessionDiscard

Asks the language server to take a module the client supplied out of the runtime session.

public const string SessionDiscard = "rdcore/session/discard"

Field Value

string

SessionExecute

Asks the language server to run one procedure of a module the client supplies.

public const string SessionExecute = "rdcore/session/execute"

Field Value

string

SessionInputBox

Asks a client to answer a program's InputBox. See SessionMessageBox.

public const string SessionInputBox = "rdcore/session/interaction/inputBox"

Field Value

string

SessionMessageBox

Asks a client to answer a program's MsgBox: sent to a client that expects the SessionInteraction capability, while the program waits for the answer as it waits for the dialog.

public const string SessionMessageBox = "rdcore/session/interaction/msgBox"

Field Value

string

SessionPeek

Reads one byte of the runtime session's memory.

public const string SessionPeek = "rdcore/session/memory/peek"

Field Value

string

SessionPoke

Writes one byte of the runtime session's memory.

public const string SessionPoke = "rdcore/session/memory/poke"

Field Value

string

SessionSemanticTokens

Asks the language server what the tokens of code fragments the client supplies are, with the legend of textDocument/semanticTokens/full.

public const string SessionSemanticTokens = "rdcore/session/semanticTokens"

Field Value

string

SessionSignatureHelp

Asks the language server what the call being written at a position of a module the client supplies takes.

public const string SessionSignatureHelp = "rdcore/session/signatureHelp"

Field Value

string

SessionStatus

Asks the language server for the state of the platform's runtime session.

public const string SessionStatus = "rdcore/session/status"

Field Value

string

ToolsCall

Asks the language server to call one of the tools it serves an assistant. See ToolCallParams.

public const string ToolsCall = "rdcore/tools/call"

Field Value

string

ToolsList

Asks the language server for the tools it serves an assistant: sent by a client that expects the AssistantTools capability. See ToolsListParams.

public const string ToolsList = "rdcore/tools/list"

Field Value

string