Class LanguageServerCapabilities
Regroups all core platform LanguageServer capabilities: the non-LSP requests a client can
make of the platform coordinator.
public class LanguageServerCapabilities
- Inheritance
-
LanguageServerCapabilities
- Inherited Members
Properties
AssistantTools
If supported, the language server serves an assistant the tools of its catalog, over rdcore/tools/list and rdcore/tools/call: what
a client that bridges an assistant to the platform (rdc mcp, an IDE's chat) asks with.
public AssistantTools AssistantTools { get; set; }
Property Value
ListSettingValue
If supported, the language server asks the client to add an item to the list of a setting, or to remove one from it, over
rdcore/settings/listValue: what the code actions that disable a diagnostic, or allow a name, do.
public ListSettingValue ListSettingValue { get; set; }
Property Value
ProgramDebugging
If supported, the language server runs the program a client asks it to under a debugger (rdcore/session/execute with Debug), and resumes, steps,
pauses and ends it over rdcore/session/debug/*.
public ProgramDebugging ProgramDebugging { get; set; }
Property Value
Refactoring
If supported, the language server says what a refactoring asks its user before it is applied, over rdcore/refactor/prepare, what an identifier
the user is typing raises, over rdcore/refactor/checkIdentifier, and answers the edit it makes with the user's answers, over rdcore/refactor/apply: what a client
that has a dialog of its own asks with. Any client is offered the refactorings as LSP code actions, which complete with their defaults.
public Refactoring Refactoring { get; set; }
Property Value
RubberduckIndenterSettings
If supported, the language server asks the client for the indenter settings its user had in Rubberduck, over rdcore/formatting/indenterSettings, and
asks it to take the Formatting settings it mapped from them as its own, over rdcore/formatting/indenterSettings/apply.
public RubberduckIndenterSettings RubberduckIndenterSettings { get; set; }
Property Value
SessionAnalyze
If supported, the language server analyzes a module the client supplies, over
rdcore/session/analyze, and reports the diagnostics its providers found.
public SessionAnalyze SessionAnalyze { get; set; }
Property Value
SessionCompletion
If supported, the language server lists what can be written at a position of a module the client supplies, over rdcore/session/completion: the
completion list of a line that is being typed at a prompt, which is no document.
public SessionCompletion SessionCompletion { get; set; }
Property Value
SessionDiscard
If supported, the language server takes a module the client supplied out of the runtime session, over rdcore/session/discard: what it
declared and what it held go, as a program's variables do when the program is cleared.
public SessionDiscard SessionDiscard { get; set; }
Property Value
SessionExecute
If supported, the language server runs a procedure of a module the client supplies, over
rdcore/session/execute, and reports what it printed.
public SessionExecute SessionExecute { get; set; }
Property Value
SessionInteraction
If supported, the language server relays the dialogs a program opens - MsgBox and InputBox - to the client, over
rdcore/session/interaction/*, and the client answers them. A client that does not expect it is never asked, and the program's dialogs are
the platform's own.
public SessionInteraction SessionInteraction { get; set; }
Property Value
SessionMemoryAccess
If supported, the language server reads and writes single bytes of the runtime session's
memory, over rdcore/session/memory/peek and .../poke.
public SessionMemoryAccess SessionMemoryAccess { get; set; }
Property Value
SessionSemanticTokens
If supported, the language server tells what the tokens of a code fragment the client supplies are, over rdcore/session/semanticTokens: the colours of
a condition, or of a line that is being typed at a prompt, which are no document.
public SessionSemanticTokens SessionSemanticTokens { get; set; }
Property Value
SessionSignatureHelp
If supported, the language server says what the call being written at a position of a module the client supplies takes, over
rdcore/session/signatureHelp: the signature help of a line that is being typed at a prompt, which is no document.
public SessionSignatureHelp SessionSignatureHelp { get; set; }
Property Value
SessionStatus
If supported, the language server answers rdcore/session/status with the state of the
platform's runtime session, including its memory.
public SessionStatus SessionStatus { get; set; }
Property Value
SessionStops
If supported, the language server tells the client of a stop in the handler of an event that runs while no program runs, over
rdcore/session/debug/stopped, and the client resumes or ends it over rdcore/session/debug/*. A client that does not expect it is never told,
and such a handler does not wait at its stop: it is unwound.
public SessionStops SessionStops { get; set; }
Property Value
Unattended
If expected, the client runs programs unattended - a CI run, a script - and nobody is there to answer a dialog: the language server runs every program
the client asks it to so that a dialog it opens fails the run (VBR50001). It wins over SessionInteraction.
public Unattended Unattended { get; set; }