Packages

final case class InitializationOptions(compilerOptions: CompilerInitializationOptions, debuggingProvider: Option[Boolean], runProvider: 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], commandInHtmlFormat: Option[CommandHTMLFormat], isVirtualDocumentSupported: Option[Boolean], openFilesOnRenameProvider: Option[Boolean], quickPickProvider: Option[Boolean], renameFileThreshold: Option[Int], statusBarProvider: Option[String], treeViewProvider: Option[Boolean], testExplorerProvider: Option[Boolean], openNewWindowProvider: Option[Boolean], copyWorksheetOutputProvider: Option[Boolean], disableColorOutput: Option[Boolean], doctorVisibilityProvider: Option[Boolean], bspStatusBarProvider: Option[String]) 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.

isVirtualDocumentSupported

whether the client supports VirtualDocuments. For opening source jars in read-only * https://code.visualstudio.com/api/extension-guides/virtual-documents

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.

statusBarProvider

if the client implements metals/status.

treeViewProvider

if the client implements the Metals Tree View Protocol.

testExplorerProvider

if the client implements the Test Explorer UI.

openNewWindowProvider

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

copyWorksheetOutputProvider

if the client can execute server CopyWorksheet command and copy results to the local buffer.

disableColorOutput

in the situation where your DAP client may not handle color codes in the output, you can enable this to strip them.

doctorVisibilityProvider

if the clients implements metals/doctorVisibilityDidChange

bspStatusBarProvider

if the client supports metals/status with "bsp" status type

Linear Supertypes
java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InitializationOptions
  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 InitializationOptions(compilerOptions: CompilerInitializationOptions, debuggingProvider: Option[Boolean], runProvider: 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], commandInHtmlFormat: Option[CommandHTMLFormat], isVirtualDocumentSupported: Option[Boolean], openFilesOnRenameProvider: Option[Boolean], quickPickProvider: Option[Boolean], renameFileThreshold: Option[Int], statusBarProvider: Option[String], treeViewProvider: Option[Boolean], testExplorerProvider: Option[Boolean], openNewWindowProvider: Option[Boolean], copyWorksheetOutputProvider: Option[Boolean], disableColorOutput: Option[Boolean], doctorVisibilityProvider: Option[Boolean], bspStatusBarProvider: Option[String])

    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.

    isVirtualDocumentSupported

    whether the client supports VirtualDocuments. For opening source jars in read-only * https://code.visualstudio.com/api/extension-guides/virtual-documents

    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.

    statusBarProvider

    if the client implements metals/status.

    treeViewProvider

    if the client implements the Metals Tree View Protocol.

    testExplorerProvider

    if the client implements the Test Explorer UI.

    openNewWindowProvider

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

    copyWorksheetOutputProvider

    if the client can execute server CopyWorksheet command and copy results to the local buffer.

    disableColorOutput

    in the situation where your DAP client may not handle color codes in the output, you can enable this to strip them.

    doctorVisibilityProvider

    if the clients implements metals/doctorVisibilityDidChange

    bspStatusBarProvider

    if the client supports metals/status with "bsp" status type

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 bspStatusBarProvider: Option[String]
  6. def bspStatusBarState: Option[StatusBarState]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val commandInHtmlFormat: Option[CommandHTMLFormat]
  9. val compilerOptions: CompilerInitializationOptions
  10. val copyWorksheetOutputProvider: Option[Boolean]
  11. val debuggingProvider: Option[Boolean]
  12. val decorationProvider: Option[Boolean]
  13. val didFocusProvider: Option[Boolean]
  14. val disableColorOutput: Option[Boolean]
  15. def doctorFormat: Option[DoctorFormat]
  16. val doctorProvider: Option[String]
  17. val doctorVisibilityProvider: Option[Boolean]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val executeClientCommandProvider: Option[Boolean]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. val globSyntax: Option[String]
  22. val icons: Option[String]
  23. val inlineDecorationProvider: Option[Boolean]
  24. val inputBoxProvider: Option[Boolean]
  25. val isExitOnShutdown: Option[Boolean]
  26. val isHttpEnabled: Option[Boolean]
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val isVirtualDocumentSupported: Option[Boolean]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. val openFilesOnRenameProvider: Option[Boolean]
  33. val openNewWindowProvider: Option[Boolean]
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. val quickPickProvider: Option[Boolean]
  36. val renameFileThreshold: Option[Int]
  37. val runProvider: Option[Boolean]
  38. val statusBarProvider: Option[String]
  39. def statusBarState: Option[StatusBarState]
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. val testExplorerProvider: Option[Boolean]
  42. val treeViewProvider: Option[Boolean]
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. 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