c

scala.meta.internal.metals

ConfiguredLanguageClient

final class ConfiguredLanguageClient extends MetalsLanguageClient

Delegates requests/notifications to the underlying language client according to the user configuration.

This wrapper class manages differences in how editors interpret LSP endpoints slightly differently, especially the window/{logMessage,showMessage} notifications. For example, with vim-lsc the messages from window/logMessage are always visible in the UI while in VS Code the logs are hidden by default.

Linear Supertypes
MetalsLanguageClient, LanguageClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfiguredLanguageClient
  2. MetalsLanguageClient
  3. LanguageClient
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConfiguredLanguageClient(underlying: MetalsLanguageClient, config: MetalsServerConfig)(implicit ec: ExecutionContext)

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. def applyEdit(params: ApplyWorkspaceEditParams): CompletableFuture[ApplyWorkspaceEditResponse]
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def configuration(arg0: ConfigurationParams): CompletableFuture[java.util.List[AnyRef]]
    Definition Classes
    LanguageClient
    Annotations
    @JsonRequest()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logMessage(message: MessageParams): Unit
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  15. def metalsExecuteClientCommand(params: ExecuteCommandParams): Unit
  16. def metalsSlowTask(params: MetalsSlowTaskParams): CompletableFuture[MetalsSlowTaskResult]

    Starts a long running task with no estimate for how long it will take to complete.

    Starts a long running task with no estimate for how long it will take to complete.

    - request cancellation from the server indicates that the task has completed - response with cancel=true indicates the client wishes to cancel the slow task

    Definition Classes
    ConfiguredLanguageClientMetalsLanguageClient
  17. def metalsStatus(params: MetalsStatusParams): Unit

    Display message in the editor "status bar", which should be displayed somewhere alongside the buffer.

    Display message in the editor "status bar", which should be displayed somewhere alongside the buffer.

    The status bar should always be visible to the user.

    - VS Code: https://code.visualstudio.com/docs/extensionAPI/vscode-api#StatusBarItem

    Definition Classes
    ConfiguredLanguageClientMetalsLanguageClient
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def publishDiagnostics(diagnostics: PublishDiagnosticsParams): Unit
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  22. def registerCapability(params: RegistrationParams): CompletableFuture[Void]
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  23. def semanticHighlighting(arg0: SemanticHighlightingParams): Unit
    Definition Classes
    LanguageClient
    Annotations
    @JsonNotification()
  24. def showMessage(params: MessageParams): Unit
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  25. def showMessageRequest(params: ShowMessageRequestParams): CompletableFuture[MessageActionItem]
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  26. def shutdown(): Unit
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def telemetryEvent(value: Any): Unit
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. var underlying: MetalsLanguageClient
  31. def unregisterCapability(params: UnregistrationParams): CompletableFuture[Void]
    Definition Classes
    ConfiguredLanguageClient → LanguageClient
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. def workspaceFolders(): CompletableFuture[java.util.List[WorkspaceFolder]]
    Definition Classes
    LanguageClient
    Annotations
    @JsonRequest()

Inherited from MetalsLanguageClient

Inherited from LanguageClient

Inherited from AnyRef

Inherited from Any

Ungrouped