class WorkspaceLspService extends ScalaLspService
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WorkspaceLspService
- ScalaLspService
- WindowService
- MetalsService
- WorkspaceService
- TextDocumentService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new WorkspaceLspService(ec: ExecutionContextExecutorService, sh: ScheduledExecutorService, serverInputs: MetalsServerInputs, client: MetalsLanguageClient, initializeParams: InitializeParams, folders: List[Folder], fallbackServicePath: => io.AbsolutePath)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def callHierarchyIncomingCalls(params: CallHierarchyIncomingCallsParams): CompletableFuture[java.util.List[CallHierarchyIncomingCall]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def callHierarchyOutgoingCalls(params: CallHierarchyOutgoingCallsParams): CompletableFuture[java.util.List[CallHierarchyOutgoingCall]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def cancel(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[CodeAction]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def collectSeq[A, B](f: (MetalsLspService) => Future[A])(compose: (List[A]) => B): Future[B]
- def completion(params: CompletionParams): CompletableFuture[CompletionList]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def createService(folder: Folder): ProjectMetalsLspService
- def currentFolder: Option[MetalsLspService]
- def currentOrHeadOrFallback: MetalsLspService
- def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def didCancelWorkDoneProgress(params: WorkDoneProgressCancelParams): Unit
- Definition Classes
- WorkspaceLspService → WindowService
- def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → WorkspaceService
- def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → WorkspaceService
- def didChangeWorkspaceFolders(params: DidChangeWorkspaceFoldersParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → WorkspaceService
- def didClose(params: DidCloseTextDocumentParams): Unit
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def didFocus(params: AnyRef): CompletableFuture[DidFocusResult.Value]
- Definition Classes
- WorkspaceLspService → MetalsService
- def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- val doctor: HeadDoctor
- def doctorVisibilityDidChange(params: DoctorVisibilityDidChangeParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → MetalsService
- def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val ex: ExecutionContextExecutorService
- def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
- Definition Classes
- WorkspaceLspService → WorkspaceService
- def exit(): Unit
- val fallbackIsInitialized: AtomicBoolean
- lazy val fallbackService: FallbackMetalsLspService
- def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
- Definition Classes
- WorkspaceLspService → MetalsService
- var focusedDocument: Option[io.AbsolutePath]
- def folderServices: List[ProjectMetalsLspService]
- val folders: List[Folder]
- def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def foreachSeq[A](f: (ProjectMetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
- def foreachSeqIncludeFallback[A](f: (MetalsLspService) => Future[A], ignoreValue: Boolean = false): CompletableFuture[AnyRef]
- def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFolderForOpt[T <: Folder](path: io.AbsolutePath, folders: List[T]): Option[T]
- def getServiceFor(uri: String): MetalsLspService
- def getServiceFor(path: io.AbsolutePath): MetalsLspService
- def getServiceForOpt(uri: String): Option[ProjectMetalsLspService]
- def getServiceForOpt(path: io.AbsolutePath): Option[ProjectMetalsLspService]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hover(params: HoverExtParams): CompletableFuture[Hover]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- var httpServer: Option[MetalsHttpServer]
- def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def initTreeView(): Unit
- def initialize(): CompletableFuture[InitializeResult]
- def initialized(): Future[Unit]
- def inlayHintResolve(inlayHint: InlayHint): CompletableFuture[InlayHint]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonScalaProjects: List[Folder]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def onCurrentFolder(f: (ProjectMetalsLspService) => Future[Unit], actionName: String): Future[Unit]
- 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
- def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def optFallback: Option[FallbackMetalsLspService]
- def prepareCallHierarchy(params: CallHierarchyPrepareParams): CompletableFuture[java.util.List[CallHierarchyItem]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- implicit val rc: ReportContext
- def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def register[T <: Cancelable](cancelable: T): T
- def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- 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
- WorkspaceLspService → TextDocumentService
- def setFocusedDocument(newFocusedDocument: Option[io.AbsolutePath]): Unit
- def shutdown(): CompletableFuture[Unit]
- lazy val shutdownPromise: AtomicReference[Promise[Unit]]
- def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- val statusBar: StatusBar
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val treeView: TreeViewProvider
- def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
- Definition Classes
- WorkspaceLspService → MetalsService
- def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → MetalsService
- def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
- Definition Classes
- WorkspaceLspService → MetalsService
- def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
- Definition Classes
- WorkspaceLspService → MetalsService
- def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
- Definition Classes
- WorkspaceLspService → MetalsService
- def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- WorkspaceLspService → TextDocumentService
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def willRenameFiles(params: RenameFilesParams): CompletableFuture[WorkspaceEdit]
- Definition Classes
- WorkspaceLspService → WorkspaceService
- def windowStateDidChange(params: WindowStateDidChangeParams): Unit
- Definition Classes
- WorkspaceLspService → MetalsService
- val workspaceFolders: WorkspaceFolders
- def workspaceSymbol(query: String): Seq[SymbolInformation]
- def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]
- Definition Classes
- WorkspaceLspService → WorkspaceService
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)