package codeactions
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
CodeAction(title: String, kind: Option[CodeActionKind] = None, diagnostics: Option[Seq[Diagnostic]] = None, edit: Option[WorkspaceEdit] = None, command: Option[Command] = None) extends Product with Serializable
A code action represents a change that can be performed in code, e.g.
A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.
A CodeAction must set either
editand/or acommand. If both are supplied, theeditis applied first, then thecommandis executed. - case class CodeActionCapabilities(dynamicRegistration: Option[Boolean], codeActionLiteralSupport: CodeActionLiteralSupportCapabilities) extends Product with Serializable
-
case class
CodeActionContext(diagnostics: Seq[Diagnostic], only: Option[Seq[CodeActionKind]]) extends Product with Serializable
Requested kind of actions to return.
Requested kind of actions to return.
Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.
- case class CodeActionKindCapabilities(valueSet: List[String]) extends Product with Serializable
- case class CodeActionLiteralSupportCapabilities(codeActionKind: CodeActionKindCapabilities) extends Product with Serializable
- case class CodeActionOptions(codeActionKinds: Option[Seq[String]] = None) extends Product with Serializable
-
case class
CodeActionParams(textDocument: TextDocumentIdentifier, range: Range, context: CodeActionContext) extends Product with Serializable
Context carrying additional information.
Value Members
- object CodeActionConfigType extends ConfigType[CodeActionCapabilities, CodeActionOptions] with Product with Serializable
-
object
CodeActionKind extends Enumeration
A set of predefined code action kinds
- object CodeActionRequestType extends RequestType[CodeActionParams, Seq[CodeAction]] with Product with Serializable