Packages

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.

Linear Supertypes
java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetalsServerInputs
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  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. val bspGlobalDirectories: List[io.AbsolutePath]
  6. val buffers: Buffers
  7. val charset: Charset
  8. val classpathSearchIndexer: ClasspathSearch.Indexer
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. val initialServerConfig: MetalsServerConfig
  13. val initialUserConfig: UserConfiguration
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val isReliableFileWatcher: Boolean
  16. val mtagsResolver: MtagsResolver
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. val onStartCompilation: () => Unit
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. val progressTicks: ProgressTicks
  23. val redirectSystemOut: Boolean
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. val time: Time
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. 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)

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped