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): ProjectMetalsLspService
  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. val fallbackIsInitialized: AtomicBoolean
  37. lazy val fallbackService: FallbackMetalsLspService
  38. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
    Definition Classes
    WorkspaceLspServiceMetalsService
  39. var focusedDocument: Option[io.AbsolutePath]
  40. def folderServices: List[ProjectMetalsLspService]
  41. val folders: List[Folder]
  42. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
  43. def foreachSeq[A](f: (ProjectMetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
  44. def foreachSeqIncludeFallback[A](f: (MetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
  45. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
  46. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  47. def getFolderForOpt[T <: Folder](path: io.AbsolutePath, folders: List[T]): Option[T]
  48. def getServiceFor(uri: String): MetalsLspService
  49. def getServiceFor(path: io.AbsolutePath): MetalsLspService
  50. def getServiceForOpt(uri: String): Option[ProjectMetalsLspService]
  51. def getServiceForOpt(path: io.AbsolutePath): Option[ProjectMetalsLspService]
  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  53. def hover(params: HoverExtParams): CompletableFuture[Hover]
  54. var httpServer: Option[MetalsHttpServer]
  55. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
  56. def initTreeView(): Unit
  57. def initialize(): CompletableFuture[InitializeResult]
  58. def initialized(): Future[Unit]
  59. def inlayHintResolve(inlayHint: InlayHint): CompletableFuture[InlayHint]
  60. def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def nonScalaProjects: List[Folder]
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  66. def onCurrentFolder(f: (ProjectMetalsLspService) => Future[Unit], actionName: String): Future[Unit]
  67. def onCurrentFolder[A](f: (ProjectMetalsLspService) => 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

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