class MetalsLanguageServer extends LanguageServer
Scala Language Server implementation.
- Alphabetic
- By Inheritance
- MetalsLanguageServer
- LanguageServer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exit(): Unit
- Definition Classes
- MetalsLanguageServer → LanguageServer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- MetalsLanguageServer → LanguageServer
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def initialize(params: InitializeParams): CompletableFuture[InitializeResult]
- Definition Classes
- MetalsLanguageServer → LanguageServer
- def initialized(params: InitializedParams): CompletableFuture[Unit]
- Definition Classes
- MetalsLanguageServer → LanguageServer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def shutdown(): CompletableFuture[Unit]
- Definition Classes
- MetalsLanguageServer → LanguageServer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def getOldMetalsLanguageServer: WorkspaceLspService
- Annotations
- @deprecated
- Deprecated