Implementation of CodeAction interface from Language Server Protocol

DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.

See also:

Static methods

staticparse(original:Dynamic):CodeAction

Constructor

new()

Variables

command:Command

A command this code action executes. If a code action provides an edit and a command, first the edit is executed and then the command.

diagnostics:Array<Diagnostic>

The diagnostics that this code action resolves.

edit:WorkspaceEdit

The workspace edit this code action performs.

kind:CodeActionKind

The kind of the code action. Used to filter code actions.

title:String

A short, human-readable, title for this code action.