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

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