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. MetalsService
  4. WorkspaceService
  5. TextDocumentService
  6. AnyRef
  7. 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 didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
  14. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
  15. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
  16. def didChangeWorkspaceFolders(params: DidChangeWorkspaceFoldersParams): CompletableFuture[Unit]
  17. def didClose(params: DidCloseTextDocumentParams): Unit
  18. def didFocus(params: AnyRef): CompletableFuture[internal.metals.DidFocusResult.Value]
  19. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
  20. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
  21. def doctorVisibilityDidChange(params: DoctorVisibilityDidChangeParams): CompletableFuture[Unit]
  22. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
  23. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
  27. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
  28. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
  29. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  32. def hover(params: HoverExtParams): CompletableFuture[Hover]
  33. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  39. def prepareCallHierarchy(params: CallHierarchyPrepareParams): CompletableFuture[java.util.List[CallHierarchyItem]]
  40. def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
  41. def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  42. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
  43. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
  44. def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
  45. 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
  46. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
  50. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
  51. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
  52. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
  53. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
  54. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  55. var underlying: ScalaLspService
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. def willRenameFiles(params: RenameFilesParams): CompletableFuture[WorkspaceEdit]
  60. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
  61. 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 MetalsService

Inherited from WorkspaceService

Inherited from TextDocumentService

Inherited from AnyRef

Inherited from Any

Ungrouped