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

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product