Packages

final case class InitializationOptions(compilerOptions: CompilerInitializationOptions, debuggingProvider: Option[Boolean], decorationProvider: Option[Boolean], inlineDecorationProvider: Option[Boolean], didFocusProvider: Option[Boolean], doctorProvider: Option[String], executeClientCommandProvider: Option[Boolean], globSyntax: Option[String], icons: Option[String], inputBoxProvider: Option[Boolean], isExitOnShutdown: Option[Boolean], isHttpEnabled: Option[Boolean], isCommandInHtmlSupported: Option[Boolean], openFilesOnRenameProvider: Option[Boolean], quickPickProvider: Option[Boolean], renameFileThreshold: Option[Int], slowTaskProvider: Option[Boolean], statusBarProvider: Option[String], treeViewProvider: Option[Boolean], openNewWindowProvider: Option[Boolean]) extends Product with Serializable

This is the preferred way to configure Metals from the client. Eventually this will be accumulated in the ClientConfiguration along with ClientExperimentalCapabilities and the InitialConfig. If the values aren't directly passed in here, we default everything to None to signify that the client didn't directly set the value. The defaults will then be handled by the ClientConfiguration so we don't need to worry about them here.

compilerOptions

configuration for the PresentationCompilerConfig.

debuggingProvider

if the client supports debugging.

decorationProvider

if the client implements the Metals Decoration Protocol.

inlineDecorationProvider

if the client implements the Metals Decoration Protocol and supports decorations to be shown inline and not only at the end of a line.

didFocusProvider

if the client implements the metals/didFocusTextDocument command.

doctorProvider

format that the client would like the Doctor to be returned in.

executeClientCommandProvider

if the client implements metals/executeClientCommand.

globSyntax

pattern used for DidChangeWatchedFilesRegistrationOptions.

icons

which icons will be used for messages.

inputBoxProvider

if the client implements metals/inputBox.

isExitOnShutdown

whether the client needs Metals to shut down manually on exit.

isHttpEnabled

whether the client needs Metals to start an HTTP client interface.

openFilesOnRenameProvider

whether or not the client supports opening files on rename.

quickPickProvider

if the client implements metals/quickPick.

renameFileThreshold

amount of files that should be opened during rename if client is a openFilesOnRenameProvider.

slowTaskProvider

if the client implements metals/slowTask.

statusBarProvider

if the client implements metals/status.

treeViewProvider

if the client implements the Metals Tree View Protocol.

openNewWindowProvider

if the client can open a new window after new project creation.

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

Instance Constructors

  1. new InitializationOptions(compilerOptions: CompilerInitializationOptions, debuggingProvider: Option[Boolean], decorationProvider: Option[Boolean], inlineDecorationProvider: Option[Boolean], didFocusProvider: Option[Boolean], doctorProvider: Option[String], executeClientCommandProvider: Option[Boolean], globSyntax: Option[String], icons: Option[String], inputBoxProvider: Option[Boolean], isExitOnShutdown: Option[Boolean], isHttpEnabled: Option[Boolean], isCommandInHtmlSupported: Option[Boolean], openFilesOnRenameProvider: Option[Boolean], quickPickProvider: Option[Boolean], renameFileThreshold: Option[Int], slowTaskProvider: Option[Boolean], statusBarProvider: Option[String], treeViewProvider: Option[Boolean], openNewWindowProvider: Option[Boolean])

    compilerOptions

    configuration for the PresentationCompilerConfig.

    debuggingProvider

    if the client supports debugging.

    decorationProvider

    if the client implements the Metals Decoration Protocol.

    inlineDecorationProvider

    if the client implements the Metals Decoration Protocol and supports decorations to be shown inline and not only at the end of a line.

    didFocusProvider

    if the client implements the metals/didFocusTextDocument command.

    doctorProvider

    format that the client would like the Doctor to be returned in.

    executeClientCommandProvider

    if the client implements metals/executeClientCommand.

    globSyntax

    pattern used for DidChangeWatchedFilesRegistrationOptions.

    icons

    which icons will be used for messages.

    inputBoxProvider

    if the client implements metals/inputBox.

    isExitOnShutdown

    whether the client needs Metals to shut down manually on exit.

    isHttpEnabled

    whether the client needs Metals to start an HTTP client interface.

    openFilesOnRenameProvider

    whether or not the client supports opening files on rename.

    quickPickProvider

    if the client implements metals/quickPick.

    renameFileThreshold

    amount of files that should be opened during rename if client is a openFilesOnRenameProvider.

    slowTaskProvider

    if the client implements metals/slowTask.

    statusBarProvider

    if the client implements metals/status.

    treeViewProvider

    if the client implements the Metals Tree View Protocol.

    openNewWindowProvider

    if the client can open a new window after new project creation.

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val compilerOptions: CompilerInitializationOptions
  7. val debuggingProvider: Option[Boolean]
  8. val decorationProvider: Option[Boolean]
  9. val didFocusProvider: Option[Boolean]
  10. def doctorFormat: Option[DoctorFormat]
  11. val doctorProvider: Option[String]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val executeClientCommandProvider: Option[Boolean]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val globSyntax: Option[String]
  17. val icons: Option[String]
  18. val inlineDecorationProvider: Option[Boolean]
  19. val inputBoxProvider: Option[Boolean]
  20. val isCommandInHtmlSupported: Option[Boolean]
  21. val isExitOnShutdown: Option[Boolean]
  22. val isHttpEnabled: Option[Boolean]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. val openFilesOnRenameProvider: Option[Boolean]
  28. val openNewWindowProvider: Option[Boolean]
  29. val quickPickProvider: Option[Boolean]
  30. val renameFileThreshold: Option[Int]
  31. val slowTaskProvider: Option[Boolean]
  32. val statusBarProvider: Option[String]
  33. def statusBarState: Option[StatusBarState]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. val treeViewProvider: Option[Boolean]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped