Packages

c

scala.meta.metals.lsp

DelegatingScalaService

class DelegatingScalaService extends ScalaLspService

Delegating Scala LSP service which forwards all requests to the underlying instance. This is needed to support lsp4j org.eclipse.lsp4j.jsonrpc.services.JsonDelegate. Value returned by method with that annotation is used to determine which methods are supported by the server. We can't initialize it to null because then no lsp methods would be supported. Instead, we initialize it to a dummy instance which is then replaced.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DelegatingScalaService
  2. ScalaLspService
  3. WindowService
  4. MetalsService
  5. WorkspaceService
  6. TextDocumentService
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DelegatingScalaService(underlying: ScalaLspService)

    underlying

    underlying instance which is swapped at runtime

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 callHierarchyIncomingCalls(params: CallHierarchyIncomingCallsParams): CompletableFuture[java.util.List[CallHierarchyIncomingCall]]
  6. def callHierarchyOutgoingCalls(params: CallHierarchyOutgoingCallsParams): CompletableFuture[java.util.List[CallHierarchyOutgoingCall]]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[CodeAction]]
  9. def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
  10. def completion(params: CompletionParams): CompletableFuture[CompletionList]
  11. def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
  12. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  13. def didCancelWorkDoneProgress(params: WorkDoneProgressCancelParams): Unit
  14. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
  15. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
  16. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
  17. def didChangeWorkspaceFolders(params: DidChangeWorkspaceFoldersParams): CompletableFuture[Unit]
  18. def didClose(params: DidCloseTextDocumentParams): Unit
  19. def didFocus(params: AnyRef): CompletableFuture[internal.metals.DidFocusResult.Value]
  20. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
  21. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
  22. def doctorVisibilityDidChange(params: DoctorVisibilityDidChangeParams): CompletableFuture[Unit]
  23. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
  24. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
  28. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
  29. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
  30. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  33. def hover(params: HoverExtParams): CompletableFuture[Hover]
  34. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  35. def inlayHintResolve(inlayHint: InlayHint): CompletableFuture[InlayHint]
  36. def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  41. def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  42. def prepareCallHierarchy(params: CallHierarchyPrepareParams): CompletableFuture[java.util.List[CallHierarchyItem]]
  43. def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
  44. def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  45. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
  46. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
  47. def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
  48. def semanticTokensFull(params: SemanticTokensParams): CompletableFuture[SemanticTokens]

    Requesting semantic tokens for a whole file in order to highlight

    Requesting semantic tokens for a whole file in order to highlight

    Definition Classes
    DelegatingScalaServiceTextDocumentService
  49. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
  53. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
  54. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
  55. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
  56. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
  57. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  58. var underlying: ScalaLspService
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. def willRenameFiles(params: RenameFilesParams): CompletableFuture[WorkspaceEdit]
  63. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
  64. def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]

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 ScalaLspService

Inherited from WindowService

Inherited from MetalsService

Inherited from WorkspaceService

Inherited from TextDocumentService

Inherited from AnyRef

Inherited from Any

Ungrouped