Completions

dotty.tools.pc.completions.Completions
class Completions(text: String, ctx: Context, search: SymbolSearch, buildTargetIdentifier: String, completionPos: CompletionPos, indexedContext: IndexedContext, path: List[Tree], adjustedPath: List[Tree], config: PresentationCompilerConfig, workspace: Option[Path], autoImports: AutoImportsGenerator, comments: List[Comment], options: List[String])(using x$14: ReportContext)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def completionsWithAffix(denot: SingleDenotation, label: String, toCompletionValue: (String, SingleDenotation, CompletionAffix) => Symbolic): List[CompletionValue]

If we try to complete TypeName, we should favor types over terms with same name value and without suffix.

If we try to complete TypeName, we should favor types over terms with same name value and without suffix.

Attributes

def includeSymbol(sym: Symbol)(using Context): Boolean
def isWorksheetIvyCompletionPosition(tree: Tree, pos: SourcePosition): Boolean

Concrete fields

lazy val fuzzyMatcher: Name => Boolean

Givens

Givens

given context: Context

Extensions

Extensions

extension (l: List[CompletionValue])
def filterInteresting(qualType: Type, enrich: Boolean): (List[CompletionValue], Result)
extension (s: SrcPos)
def isAfter(s1: SrcPos): Boolean
extension (sym: Symbol)