final case class MetalsServerInputs(buffers: Buffers, time: Time, initialServerConfig: MetalsServerConfig, initialUserConfig: UserConfiguration, bspGlobalDirectories: List[io.AbsolutePath], mtagsResolver: MtagsResolver, onStartCompilation: () => Unit, redirectSystemOut: Boolean, progressTicks: ProgressTicks, isReliableFileWatcher: Boolean, classpathSearchIndexer: ClasspathSearch.Indexer, charset: Charset) extends Product with Serializable
Container class for metals language server and service configuration. The configuration is mostly used to allow for custom behaviour in tests. All the defaults are the instances used on the production.
- buffers
In-memory text contents for unsaved files.
- time
A "clock" instance for getting the current time.
- initialServerConfig
Configuration parameters for the Metals language server.
- initialUserConfig
Configuration which can be overriden by the user (via workspace/didChangeConfiguration)
- bspGlobalDirectories
Directories for user and system installed BSP connection details according to BSP spec: https://build-server-protocol.github.io/docs/server-discovery.html#default-locations-for-bsp-connection-files
- mtagsResolver
Mtags provider.
- onStartCompilation
A function executed on comilation start. Used in tests to e.g. count the number of executed compilations.
- redirectSystemOut
If system.out should be redirected into a file.
- progressTicks
Tick marks kind for progress bars.
- isReliableFileWatcher
A special flag set to false only when running tests on non-Linux computers to avoid flaky-test failure delayed file watching notifications
- classpathSearchIndexer
Indexer for classpath elements for workspace symbol search.
- charset
The mapping between sequences of sixteen-bit Unicode codes and sequences of bytes that should be used for interpreting the files.
- Alphabetic
- By Inheritance
- MetalsServerInputs
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MetalsServerInputs(buffers: Buffers, time: Time, initialServerConfig: MetalsServerConfig, initialUserConfig: UserConfiguration, bspGlobalDirectories: List[io.AbsolutePath], mtagsResolver: MtagsResolver, onStartCompilation: () => Unit, redirectSystemOut: Boolean, progressTicks: ProgressTicks, isReliableFileWatcher: Boolean, classpathSearchIndexer: ClasspathSearch.Indexer, charset: Charset)
- buffers
In-memory text contents for unsaved files.
- time
A "clock" instance for getting the current time.
- initialServerConfig
Configuration parameters for the Metals language server.
- initialUserConfig
Configuration which can be overriden by the user (via workspace/didChangeConfiguration)
- bspGlobalDirectories
Directories for user and system installed BSP connection details according to BSP spec: https://build-server-protocol.github.io/docs/server-discovery.html#default-locations-for-bsp-connection-files
- mtagsResolver
Mtags provider.
- onStartCompilation
A function executed on comilation start. Used in tests to e.g. count the number of executed compilations.
- redirectSystemOut
If system.out should be redirected into a file.
- progressTicks
Tick marks kind for progress bars.
- isReliableFileWatcher
A special flag set to false only when running tests on non-Linux computers to avoid flaky-test failure delayed file watching notifications
- classpathSearchIndexer
Indexer for classpath elements for workspace symbol search.
- charset
The mapping between sequences of sixteen-bit Unicode codes and sequences of bytes that should be used for interpreting the files.
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
- val bspGlobalDirectories: List[io.AbsolutePath]
- val buffers: Buffers
- val charset: Charset
- val classpathSearchIndexer: ClasspathSearch.Indexer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val initialServerConfig: MetalsServerConfig
- val initialUserConfig: UserConfiguration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isReliableFileWatcher: Boolean
- val mtagsResolver: MtagsResolver
- 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()
- val onStartCompilation: () => Unit
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val progressTicks: ProgressTicks
- val redirectSystemOut: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val time: Time
- 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)