Override

dotty.tools.pc.completions.CompletionValue.Override
case class Override(label: String, value: String, denotation: Denotation, additionalEdits: List[TextEdit], filterText: Option[String], range: Option[Range]) extends Symbolic

Value parameters

shortenedNames

shortened type names by Printer. This field should be used for autoImports

start

Starting position of the completion this is needed, because for OverrideCompletion, completionPos doesn't capture the "correct" starting position. For example, when we type override def fo@@ (where @@ we invoke completion) completionPos is fo, instead of override def fo.

Attributes

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

Members list

Value members

Concrete methods

Attributes

Definition Classes
override def completionItemKind(using Context): CompletionItemKind

Attributes

Definition Classes
override def insertText: Option[String]

Attributes

Definition Classes
override def labelWithDescription(printer: ShortenedTypePrinter)(using Context): String

Label with potentially attached description.

Label with potentially attached description.

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
CompletionValue
override def completionData(buildTargetIdentifier: String)(using Context): CompletionItemData

Attributes

Definition Classes
Inherited from:
Symbolic
override def description(printer: ShortenedTypePrinter)(using Context): String

Attributes

Definition Classes
Inherited from:
Symbolic
def importSymbol: Symbol

Attributes

Inherited from:
Symbolic
def insertMode: Option[InsertTextMode]

Attributes

Inherited from:
CompletionValue

Attributes

Inherited from:
Symbolic

Attributes

Inherited from:
Symbolic
protected def labelWithSuffix(printer: ShortenedTypePrinter)(using Context): String

Attributes

Inherited from:
Symbolic
override def lspTags(using Context): List[CompletionItemTag]

Attributes

Definition Classes
Inherited from:
Symbolic

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
CompletionValue

Inherited fields

val symbol: Symbol

Attributes

Inherited from:
Symbolic