CodeAction

dotty.tools.dotc.reporting.CodeAction
case class CodeAction(title: String, description: Option[String], patches: List[ActionPatch])

A representation of a code action / fix that can be used by tooling to apply a fix to their code.

Value parameters

description

An optional description of the fix.

patches

The patches that this fix contains.

title

The title of the fix, often showed to a user in their editor.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product