Table of Contents

Class CoreAssistantTools

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocols.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

ApplyFix

A fix applied to the documents, through the client (workspace/applyEdit): ApplyFixToolArguments, answered with an EditToolResult.

public const string ApplyFix = "apply_fix"

Field Value

string

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

ListFixes

The fixes of a document, or of a range of it, as textDocument/codeAction finds them: ListFixesToolArguments, answered with a ListFixesToolResult.

public const string ListFixes = "list_fixes"

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

PreviewFix

What a fix would change, with nothing changed: FixToolArguments, answered with a PreviewFixToolResult.

public const string PreviewFix = "preview_fix"

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

Rename

The symbol named at a position renamed, as textDocument/rename renames it, through the client (workspace/applyEdit): RenameToolArguments, answered with an EditToolResult.

public const string Rename = "rename"

Field Value

string