CompletionValue

dotty.tools.pc.completions.CompletionValue
See theCompletionValue companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Autofill(value: String) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CaseKeyword(symbol: Symbol, label: String, insertText: Option[String], additionalEdits: List[TextEdit], range: Option[Range], command: Option[String]) extends Symbolic

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class Compiler(label: String, symbol: Symbol, snippetSuffix: CompletionSuffix) extends Symbolic

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class Document(label: String, doc: String, description: String) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Extension(label: String, symbol: Symbol, snippetSuffix: CompletionSuffix) extends Symbolic

CompletionValue for extension methods via SymbolSearch

CompletionValue for extension methods via SymbolSearch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class FileSystemMember(filename: String, range: Option[Range], isDirectory: Boolean) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Interpolator(symbol: Symbol, label: String, insertText: Option[String], additionalEdits: List[TextEdit], range: Option[Range], filterText: Option[String], importSymbol: Symbol, isWorkspace: Boolean, isExtension: Boolean) extends Symbolic

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class IvyImport(label: String, insertText: Option[String], range: Option[Range]) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Keyword(label: String, insertText: Option[String]) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MatchCompletion(label: String, insertText: Option[String], additionalEdits: List[TextEdit], desc: String) extends CompletionValue

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class NamedArg(label: String, tpe: Type, symbol: Symbol) extends Symbolic

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class Override(label: String, value: String, symbol: Symbol, 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

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
case class Scope(label: String, symbol: Symbol, snippetSuffix: CompletionSuffix) extends Symbolic

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all
sealed trait Symbolic extends CompletionValue

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CaseKeyword
class Compiler
class Extension
class Interpolator
class NamedArg
class Override
class Scope
class Workspace
Show all
case class Workspace(label: String, symbol: Symbol, snippetSuffix: CompletionSuffix, importSymbol: Symbol) extends Symbolic

Attributes

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

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def document(label: String, insertText: String, description: String): CompletionValue
def keyword(label: String, insertText: String): CompletionValue
def namedArg(label: String, sym: ParamSymbol)(using Context): CompletionValue