CodeAction

constructor(title: String, kind: CodeActionKind = definedExternally)(source)

Creates a new code action.

A code action must have at least a title} and {@link CodeAction.edit edits and/or a command.

Parameters

title

The title of the code action.

kind

The kind of the code action.

Online Documentation