Class/Object

scala.meta.internal.pc

CompilerInitializationOptions

Related Docs: object CompilerInitializationOptions | package pc

Permalink

case class CompilerInitializationOptions(completionCommand: Option[String], isCompletionItemDetailEnabled: Option[Boolean], isCompletionItemDocumentationEnabled: Option[Boolean], isCompletionItemResolve: Option[Boolean], isHoverDocumentationEnabled: Option[Boolean], isSignatureHelpDocumentationEnabled: Option[Boolean], overrideDefFormat: Option[String], parameterHintsCommand: Option[String], snippetAutoIndent: Option[Boolean]) extends Product with Serializable

Represents the Compiler InitializationOptions that the client sends in during the initialize process. If the the client doesn't doesn't explicity send in anything, we default everything to None to signify the client didn't set this. This will then default to what is currently set (more than likely the defaults) in the PresentationCompilerConfigImpl.

completionCommand

command identifier to trigger completion.

isCompletionItemDetailEnabled

whether the CompletionItem.detail field should be populated.

isCompletionItemDocumentationEnabled

whether the CompletionItem.documentation field should be populated.

isCompletionItemResolve

whether the client wants Metals to handle completionItem/resolve

isHoverDocumentationEnabled

whether to include docstrings in a textDocument/hover.

isSignatureHelpDocumentationEnabled

whether the SignatureHelp.documentation field should be populated.

overrideDefFormat

whether the override should include a unicode icon or only ascii.

parameterHintsCommand

command identifier to trigger parameter hints.

snippetAutoIndent

whether the client defaults to adding the indentation of the reference line that the operation started on.

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerInitializationOptions
  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 CompilerInitializationOptions(completionCommand: Option[String], isCompletionItemDetailEnabled: Option[Boolean], isCompletionItemDocumentationEnabled: Option[Boolean], isCompletionItemResolve: Option[Boolean], isHoverDocumentationEnabled: Option[Boolean], isSignatureHelpDocumentationEnabled: Option[Boolean], overrideDefFormat: Option[String], parameterHintsCommand: Option[String], snippetAutoIndent: Option[Boolean])

    Permalink

    completionCommand

    command identifier to trigger completion.

    isCompletionItemDetailEnabled

    whether the CompletionItem.detail field should be populated.

    isCompletionItemDocumentationEnabled

    whether the CompletionItem.documentation field should be populated.

    isCompletionItemResolve

    whether the client wants Metals to handle completionItem/resolve

    isHoverDocumentationEnabled

    whether to include docstrings in a textDocument/hover.

    isSignatureHelpDocumentationEnabled

    whether the SignatureHelp.documentation field should be populated.

    overrideDefFormat

    whether the override should include a unicode icon or only ascii.

    parameterHintsCommand

    command identifier to trigger parameter hints.

    snippetAutoIndent

    whether the client defaults to adding the indentation of the reference line that the operation started on.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val completionCommand: Option[String]

    Permalink

    command identifier to trigger completion.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val isCompletionItemDetailEnabled: Option[Boolean]

    Permalink

    whether the CompletionItem.detail field should be populated.

  11. val isCompletionItemDocumentationEnabled: Option[Boolean]

    Permalink

    whether the CompletionItem.documentation field should be populated.

  12. val isCompletionItemResolve: Option[Boolean]

    Permalink

    whether the client wants Metals to handle completionItem/resolve

  13. val isHoverDocumentationEnabled: Option[Boolean]

    Permalink

    whether to include docstrings in a textDocument/hover.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val isSignatureHelpDocumentationEnabled: Option[Boolean]

    Permalink

    whether the SignatureHelp.documentation field should be populated.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val overrideDefFormat: Option[String]

    Permalink

    whether the override should include a unicode icon or only ascii.

  20. val parameterHintsCommand: Option[String]

    Permalink

    command identifier to trigger parameter hints.

  21. val snippetAutoIndent: Option[Boolean]

    Permalink

    whether the client defaults to adding the indentation of the reference line that the operation started on.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped