Packages

p

org.mulesoft.lsp.feature

codeactions

package codeactions

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class CodeAction(title: String, kind: Option[CodeActionKind.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 edit and/or a command. If both are supplied, the edit is applied first, then the command is executed.

  2. case class CodeActionCapabilities(dynamicRegistration: Option[Boolean], codeActionLiteralSupport: CodeActionLiteralSupportCapabilities) extends Product with Serializable
  3. case class CodeActionContext(diagnostics: Seq[Diagnostic], only: Option[Seq[CodeActionKind.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.

  4. case class CodeActionKindCapabilities(valueSet: List[String]) extends Product with Serializable
  5. case class CodeActionLiteralSupportCapabilities(codeActionKind: CodeActionKindCapabilities) extends Product with Serializable
  6. case class CodeActionOptions(codeActionKinds: Option[Seq[String]] = None) extends Product with Serializable
  7. case class CodeActionParams(textDocument: TextDocumentIdentifier, range: Range, context: CodeActionContext) extends Product with Serializable

    Context carrying additional information.

Value Members

  1. object CodeActionConfigType extends ConfigType[CodeActionCapabilities, CodeActionOptions] with Product with Serializable
  2. object CodeActionKind extends Enumeration

    A set of predefined code action kinds

  3. object CodeActionRequestType extends RequestType[CodeActionParams, Seq[CodeAction]] with Product with Serializable

Ungrouped