Class RefactoringCommands
- Namespace
- RDCore.SDK.Semantics.Refactoring
- Assembly
- RDCore.SDK.dll
The commands of the platform's code actions that a client runs itself (LSP 3.17 CodeAction.command): what only the client can do,
such as asking its user for a name.
public static class RefactoringCommands
- Inheritance
-
RefactoringCommands
- Inherited Members
Fields
Rename
Renames the symbol named at a position of a document, to a name the client asks its user for: the client asks, and sends textDocument/rename with
the name it is given, unless the user cancels. Its arguments are the URI of the document and the position (LSP 3.17 Position).
public const string Rename = "rdcore.rename"
Field Value
ShowReferences
Shows its user where a symbol is referred to: the command of a code lens that counts the references of a member (LSP 3.17
CodeLens.command). Its arguments are the URI of the document, the position of the member's name (LSP 3.17 Position), and the
references (LSP 3.17 Location[]) - the arguments of VS Code's editor.action.showReferences.
public const string ShowReferences = "rdcore.showReferences"