Table of Contents

Class CoreAssistantTools

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocol.dll

The names of the tools the language server serves an assistant (Name), with the arguments each takes and the structured result each answers with in this namespace.

public static class CoreAssistantTools
Inheritance
CoreAssistantTools
Inherited Members

Fields

Definition

Where the symbol named at a position is defined, as textDocument/definition finds it: PositionToolArguments, answered with a LocationsToolResult.

public const string Definition = "definition"

Field Value

string

DescribeAt

What the name or expression written at a position is, as rdcore/semantics/describe describes it: PositionToolArguments, answered with a DescribeToolResult (RDCore.SDK).

public const string DescribeAt = "describe_at"

Field Value

string

FindSymbol

The symbols of the workspace whose name matches a query, as workspace/symbol finds them: FindSymbolToolArguments, answered with a SymbolsToolResult.

public const string FindSymbol = "find_symbol"

Field Value

string

GetDiagnostics

The diagnostics of a document, or of every document of the workspace: DiagnosticsToolArguments, answered with a DiagnosticsToolResult.

public const string GetDiagnostics = "get_diagnostics"

Field Value

string

Outline

The declarations of a document's module, as rdcore/semantics/outline outlines it: OutlineToolArguments, answered with an OutlineToolResult (RDCore.SDK).

public const string Outline = "outline"

Field Value

string

References

The names that refer to the symbol named at a position, as textDocument/references finds them: ReferencesToolArguments, answered with a LocationsToolResult.

public const string References = "references"

Field Value

string