Packages

c

scala.meta.internal.metals

WorkspaceLspService

class WorkspaceLspService extends ScalaLspService

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

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]) @IntrinsicCandidate() @native()
  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 currentOrHeadOrFallback: MetalsLspService
  17. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  18. def didCancelWorkDoneProgress(params: WorkDoneProgressCancelParams): Unit
    Definition Classes
    WorkspaceLspServiceWindowService
  19. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
  20. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
  21. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
  22. def didChangeWorkspaceFolders(params: DidChangeWorkspaceFoldersParams): CompletableFuture[Unit]
  23. def didClose(params: DidCloseTextDocumentParams): Unit
  24. def didFocus(params: AnyRef): CompletableFuture[DidFocusResult.Value]
    Definition Classes
    WorkspaceLspServiceMetalsService
  25. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
  26. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
  27. val doctor: HeadDoctor
  28. def doctorVisibilityDidChange(params: DoctorVisibilityDidChangeParams): CompletableFuture[Unit]
    Definition Classes
    WorkspaceLspServiceMetalsService
  29. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
  30. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  33. implicit val ex: ExecutionContextExecutorService
  34. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
  35. def exit(): Unit
  36. lazy val fallbackService: FallbackMetalsLspService
  37. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
    Definition Classes
    WorkspaceLspServiceMetalsService
  38. var focusedDocument: Option[io.AbsolutePath]
  39. def folderServices: List[MetalsLspService]
  40. val folders: List[Folder]
  41. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
  42. def foreachSeq[A](f: (MetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
  43. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  44. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  45. def getFolderForOpt[T <: Folder](path: io.AbsolutePath, folders: List[T]): Option[T]
  46. def getServiceFor(uri: String): MetalsLspService
  47. def getServiceFor(path: io.AbsolutePath): MetalsLspService
  48. def getServiceForOpt(path: io.AbsolutePath): Option[MetalsLspService]
  49. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  50. def hover(params: HoverExtParams): CompletableFuture[Hover]
  51. var httpServer: Option[MetalsHttpServer]
  52. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  53. def initTreeView(): Unit
  54. def initialize(): CompletableFuture[InitializeResult]
  55. def initialized(): Future[Unit]
  56. def inlayHintResolve(inlayHint: InlayHint): CompletableFuture[InlayHint]
  57. def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. def nonScalaProjects: List[Folder]
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  63. def onCurrentFolder(f: (MetalsLspService) => Future[Unit], actionName: String): Future[Unit]
  64. 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

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