Trait

scala.meta.internal.pc.completions

Completions

Related Doc: package completions

Permalink

trait Completions extends AnyRef

Utility methods for completions.

Self Type
MetalsGlobal
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Completions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class CompletionPosition extends AnyRef

    Permalink
  2. class DynamicFallbackCompletions extends MetalsGlobal.Traverser

    Permalink

    Detects type member select from qualifiers that extend scala.Dynamic.

    Detects type member select from qualifiers that extend scala.Dynamic.

    By default, type member completions on classes that extend scala.Dynamic return no results due to how Dynamic desugars trees. This traverser detects such cases and run a custom type member completion.

  3. class MetalsLocator extends MetalsGlobal.Traverser

    Permalink
  4. class NamedArgMember extends MetalsGlobal.ScopeMember

    Permalink
  5. class PatternMatch extends AnyRef

    Permalink
  6. class TextEditMember extends MetalsGlobal.ScopeMember

    Permalink
  7. class WorkspaceMember extends MetalsGlobal.ScopeMember

    Permalink

    A member for symbols on the classpath that are not in scope, produced via workspace/symbol.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clientSupportsSnippets: Boolean

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def completionPosition(pos: MetalsGlobal.Position, text: String, editRange: org.eclipse.lsp4j.Range, completions: MetalsGlobal.CompletionResult, latestEnclosing: List[MetalsGlobal.Tree]): MetalsGlobal.CompletionPosition

    Permalink
  8. def completionPositionUnsafe(pos: MetalsGlobal.Position, text: String, editRange: org.eclipse.lsp4j.Range, completions: MetalsGlobal.CompletionResult, latestEnclosingArg: List[MetalsGlobal.Tree]): MetalsGlobal.CompletionPosition

    Permalink
  9. def completionsSymbol(name: String): MetalsGlobal.Symbol

    Permalink
  10. def dealiasedType(sym: MetalsGlobal.Symbol): List[MetalsGlobal.Symbol]

    Permalink
  11. def dealiasedValForwarder(sym: MetalsGlobal.Symbol): List[MetalsGlobal.Symbol]

    Permalink
  12. def detailString(r: MetalsGlobal.Member, history: MetalsGlobal.ShortenedNames): String

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findLastVisitedParentTree(pos: MetalsGlobal.Position): Option[MetalsGlobal.Tree]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def inferIdentEnd(pos: MetalsGlobal.Position, text: String): Int

    Permalink

    Returns the end offset of the identifier starting as the given offset position.

  20. def inferIdentStart(pos: MetalsGlobal.Position, text: String): Int

    Permalink

    Returns the start offset of the identifier starting as the given offset position.

  21. def inferIndent(lineStart: Int, text: String): Int

    Permalink
  22. def infoString(sym: MetalsGlobal.Symbol, info: MetalsGlobal.Type, history: MetalsGlobal.ShortenedNames): String

    Permalink
  23. lazy val isEvilMethod: Set[MetalsGlobal.Name]

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. lazy val isNotOverridableName: Set[MetalsGlobal.Name]

    Permalink
  26. def isSnippetEnabled(pos: MetalsGlobal.Position, text: String): Boolean

    Permalink
  27. lazy val isUninterestingSymbol: Set[MetalsGlobal.Symbol]

    Permalink
  28. lazy val isUninterestingSymbolOwner: Set[MetalsGlobal.Symbol]

    Permalink
  29. var lastVisitedParentTrees: List[MetalsGlobal.Tree]

    Permalink
  30. def memberOrdering(query: String, history: MetalsGlobal.ShortenedNames, completion: MetalsGlobal.CompletionPosition): Ordering[MetalsGlobal.Member]

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def packageSymbolFromString(symbol: String): Option[MetalsGlobal.Symbol]

    Permalink
  35. val packageSymbols: Map[String, Option[MetalsGlobal.Symbol]]

    Permalink
  36. def relevancePenalty(m: MetalsGlobal.Member, history: MetalsGlobal.ShortenedNames): Int

    Permalink

    Returns a high number for less relevant symbols and low number for relevant numbers.

    Returns a high number for less relevant symbols and low number for relevant numbers.

    Relevance is computed based on several factors such as - local vs global - public vs private - synthetic vs non-synthetic

  37. lazy val renameConfig: Map[MetalsGlobal.Symbol, MetalsGlobal.Name]

    Permalink
  38. def renamedSymbols(context: MetalsGlobal.Context): Map[MetalsGlobal.Symbol, MetalsGlobal.Name]

    Permalink
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped