Class CoreAssistantTools
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
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
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
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
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
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
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
PreviewFix
What a fix would change, with nothing changed: FixToolArguments, answered with a PreviewFixToolResult.
public const string PreviewFix = "preview_fix"
Field Value
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
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"