Namespace RDCore.SDK.Semantics.Refactoring
Classes
- DeclarationEdits
The edits that add declarations to the declaration section of a module, remove one variable of a declaration statement, and add a member to a user-defined type. They keep the comments, the line continuations and the other variables of a statement.
- ListEdits
The edits of a list of items separated by commas: the parameters of a procedure (MS-VBAL §5.3.1.5), the arguments of a call (MS-VBAL §5.6.13.1). They keep the line continuations and the spacing of the items that stay.
- MemberEdits
The edits that remove, insert and move whole members of a module, which keep their comments, annotations, line continuations and
Attributelines: each takes a member's whole lines (MemberExtent), and keeps one blank line between two members.
- MemberExtent
The whole text of a member of a module, as a refactoring that removes, inserts or moves it takes it (MemberEdits).
- RefactoringCommands
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.
- RefactoringKinds
The kinds of the refactorings and source actions the language server offers as code actions (LSP 3.17
CodeActionKind): what a client asks for in a code action request (CodeActionContext.only), and what names a refactoring in Kind.
- RefactoringTitles
What the platform's code actions are called, in the language of the reader.
- ServerCommands
The commands the language server runs (LSP 3.17
workspace/executeCommand): a client that takes a code action of such a command sends the command back as it is, with its arguments, and one that offers its user a command asks for it by its name. The commands a client runs itself are RefactoringCommands.
- SourceInlayHints
The inlay hints of a module: what its code means without saying it, each in square brackets, at the place it describes. A hint is never at the end of a line it does not describe, where it would read like code.
Structs
- SourceInlayHint
An inlay hint of a module: what it says, in square brackets, and the place of the module's source it is shown at, before the character there.
Enums
- InlayHintSite
A place of the code an inlay hint is shown at, which a setting turns on or off (SdkInlayHintOptions).