Packages

c

scala.meta.metals

MetalsLanguageServer

class MetalsLanguageServer extends LanguageServer

Scala Language Server implementation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetalsLanguageServer
  2. LanguageServer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MetalsLanguageServer(ec: ExecutionContextExecutorService, sh: ScheduledExecutorService, serverInputs: MetalsServerInputs = MetalsServerInputs.productionConfiguration)

    ec

    Execution context for futures.

    sh

    Scheduled executor service for scheduling tasks.

    serverInputs

    Collection of different parameters used by Metals for running, which main purpose is allowing for custom bahaviour in tests.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancel(): Unit

    Cancel all cancelables, but leave thread pools running.

    Cancel all cancelables, but leave thread pools running. This is used only in tests where thread pools are reused.

  6. def cancelAll(): Unit

    Cancel all cancelables and shutdown thread pools.

    Cancel all cancelables and shutdown thread pools. This is used in production and in tests, after all tests are finished in suite.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def connectToLanguageClient(languageClientProxy: MetalsLanguageClient): Unit

    languageClientProxy

    don't be fool by type, this is proxy created by lsp4j and calling shutdown on it may throw

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def exit(): Unit
    Definition Classes
    MetalsLanguageServerLanguageServer
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. val getScalaService: ScalaLspService

    See scala.meta.metals.lsp.DelegatingScalaService docs for more information about how JsonDelegate works.

    See scala.meta.metals.lsp.DelegatingScalaService docs for more information about how JsonDelegate works.

    Definition Classes
    MetalsLanguageServerLanguageServer
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def initialize(params: InitializeParams): CompletableFuture[InitializeResult]
    Definition Classes
    MetalsLanguageServerLanguageServer
  16. def initialized(params: InitializedParams): CompletableFuture[Unit]
    Definition Classes
    MetalsLanguageServerLanguageServer
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def shutdown(): CompletableFuture[Unit]
    Definition Classes
    MetalsLanguageServerLanguageServer
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def getOldMetalsLanguageServer: WorkspaceLspService
    Annotations
    @deprecated
    Deprecated

Inherited from LanguageServer

Inherited from AnyRef

Inherited from Any

Ungrouped