Packages

c

scala.meta.internal.metals

WorkspaceLspService

class WorkspaceLspService extends ScalaLspService

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WorkspaceLspService
  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 WorkspaceLspService(ec: ExecutionContextExecutorService, sh: ScheduledExecutorService, serverInputs: MetalsServerInputs, client: MetalsLanguageClient, initializeParams: InitializeParams, folders: List[Folder])

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 cancel(): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[CodeAction]]
  10. def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
  11. def collectSeq[A, B](f: (MetalsLspService) => Future[A])(compose: (List[A]) => B): Future[B]
  12. def completion(params: CompletionParams): CompletableFuture[CompletionList]
  13. def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
  14. def createService(folder: Folder): MetalsLspService
  15. def currentFolder: Option[MetalsLspService]
  16. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  17. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
  18. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
  19. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
  20. def didChangeWorkspaceFolders(params: DidChangeWorkspaceFoldersParams): CompletableFuture[Unit]
  21. def didClose(params: DidCloseTextDocumentParams): Unit
  22. def didFocus(params: AnyRef): CompletableFuture[DidFocusResult.Value]
    Definition Classes
    WorkspaceLspServiceMetalsService
  23. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
  24. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
  25. val doctor: HeadDoctor
  26. def doctorVisibilityDidChange(params: DoctorVisibilityDidChangeParams): CompletableFuture[Unit]
    Definition Classes
    WorkspaceLspServiceMetalsService
  27. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
  28. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. implicit val ex: ExecutionContextExecutorService
  32. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
  33. def exit(): Unit
  34. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
    Definition Classes
    WorkspaceLspServiceMetalsService
  35. var focusedDocument: Option[io.AbsolutePath]
  36. def folderServices: List[MetalsLspService]
  37. val folders: List[Folder]
  38. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
  39. def foreachSeq[A](f: (MetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
  40. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  42. def getServiceFor(uri: String): MetalsLspService
  43. def getServiceFor(path: io.AbsolutePath): MetalsLspService
  44. def getServiceForExactUri(folderUri: String): Option[MetalsLspService]
  45. def getServiceForOpt(path: io.AbsolutePath): Option[MetalsLspService]
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  47. def hover(params: HoverExtParams): CompletableFuture[Hover]
  48. var httpServer: Option[MetalsHttpServer]
  49. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  50. def initTreeView(): Unit
  51. def initialize(): CompletableFuture[InitializeResult]
  52. def initialized(): Future[Unit]
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  57. def onCurrentFolder(f: (MetalsLspService) => Future[Unit], actionName: String): Future[Unit]
  58. def onCurrentFolder[A](f: (MetalsLspService) => Future[A], actionName: String, default: () => A): Future[A]

    Execute on current folder (for focused document).

    Execute on current folder (for focused document). In no focused document create a popup for user to choose the folder.

    f

    -- action to be executed

    actionName

    -- action name to display for popup

  59. def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  60. def prepareCallHierarchy(params: CallHierarchyPrepareParams): CompletableFuture[java.util.List[CallHierarchyItem]]
  61. def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
  62. def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  63. implicit val rc: ReportContext
  64. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
  65. def register[T <: Cancelable](cancelable: T): T
  66. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
  67. def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
  68. 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
    WorkspaceLspServiceTextDocumentService
  69. def shutdown(): CompletableFuture[Unit]
  70. lazy val shutdownPromise: AtomicReference[Promise[Unit]]
  71. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
  72. val statusBar: StatusBar
  73. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  74. def toString(): String
    Definition Classes
    AnyRef → Any
  75. val treeView: TreeViewProvider
  76. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
    Definition Classes
    WorkspaceLspServiceMetalsService
  77. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
    Definition Classes
    WorkspaceLspServiceMetalsService
  78. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
    Definition Classes
    WorkspaceLspServiceMetalsService
  79. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
    Definition Classes
    WorkspaceLspServiceMetalsService
  80. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
    Definition Classes
    WorkspaceLspServiceMetalsService
  81. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. def willRenameFiles(params: RenameFilesParams): CompletableFuture[WorkspaceEdit]
  86. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
    Definition Classes
    WorkspaceLspServiceMetalsService
  87. val workspaceFolders: WorkspaceFolders
  88. def workspaceSymbol(query: String): Seq[SymbolInformation]
  89. 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
    Deprecated

Inherited from ScalaLspService

Inherited from MetalsService

Inherited from WorkspaceService

Inherited from TextDocumentService

Inherited from AnyRef

Inherited from Any

Ungrouped