class FallbackMetalsLspService extends MetalsLspService
- Alphabetic
- By Inheritance
- FallbackMetalsLspService
- MetalsLspService
- TextDocumentService
- Cancelable
- Folder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FallbackMetalsLspService(ec: ExecutionContextExecutorService, sh: ScheduledExecutorService, serverInputs: MetalsServerInputs, languageClient: ConfiguredLanguageClient, initializeParams: InitializeParams, clientConfig: ClientConfiguration, statusBar: StatusBar, focusedDocument: () => Option[io.AbsolutePath], shellRunner: ShellRunner, timerProvider: TimerProvider, initTreeView: () => Unit, folder: io.AbsolutePath, folderVisibleName: Option[String], headDoctor: HeadDoctor, workDoneProgress: WorkDoneProgress, bspStatus: BspStatus)
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
- def allActionCommandsIds: Set[String]
- Definition Classes
- MetalsLspService
- def ammoniteStart(): Future[Unit]
- Definition Classes
- MetalsLspService
- def ammoniteStop(): Future[Unit]
- Definition Classes
- MetalsLspService
- def analyzeStackTrace(content: String): Option[ExecuteCommandParams]
- Definition Classes
- MetalsLspService
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autoConnectToBuildServer(): Future[BuildChange]
- Definition Classes
- MetalsLspService
- var bspSession: Option[BspSession]
- Definition Classes
- MetalsLspService
- val buildClient: ForwardingMetalsBuildClient
- Definition Classes
- MetalsLspService
- var buildServerPromise: Promise[Unit]
- Definition Classes
- MetalsLspService
- val buildTargets: BuildTargets
- Definition Classes
- MetalsLspService
- def callHierarchyIncomingCalls(params: CallHierarchyIncomingCallsParams): CompletableFuture[java.util.List[CallHierarchyIncomingCall]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def callHierarchyOutgoingCalls(params: CallHierarchyOutgoingCallsParams): CompletableFuture[java.util.List[CallHierarchyOutgoingCall]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def cancel(): Unit
- Definition Classes
- MetalsLspService → Cancelable
- def cancelCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- def cascadeCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- def chooseClass(uri: String, granurality: ClassFinderGranularity): Future[DecoderResponse]
- Definition Classes
- MetalsLspService
- def cleanCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- 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
- MetalsLspService → TextDocumentService
- def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val compilations: Compilations
- Definition Classes
- MetalsLspService
- def completion(params: CompletionParams): CompletableFuture[CompletionList]
- Definition Classes
- MetalsLspService → TextDocumentService
- def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
- Definition Classes
- MetalsLspService → TextDocumentService
- def copyWorksheetOutput(worksheetPath: io.AbsolutePath): CompletableFuture[AnyRef]
- Definition Classes
- MetalsLspService
- def createDebugSession(target: BuildTargetIdentifier): Future[DebugSession]
- Definition Classes
- MetalsLspService
- def createFile(directoryURI: Option[String], name: Option[String], fileType: Option[String], isScala: Boolean): CompletableFuture[AnyRef]
- Definition Classes
- MetalsLspService
- def debugDiscovery(params: DebugDiscoveryParams): Future[DebugSession]
- Definition Classes
- MetalsLspService
- def decodeFile(uri: String): Future[DecoderResponse]
- Definition Classes
- MetalsLspService
- def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def definitionOrReferences(positionParams: TextDocumentPositionParams, token: CancelToken = EmptyCancelToken, definitionOnly: Boolean = false): Future[DefinitionResult]
Returns the definition location or reference locations of a symbol at a given text document position.
Returns the definition location or reference locations of a symbol at a given text document position. If the symbol represents the definition itself, this method returns the reference locations, otherwise this returns definition location. https://github.com/scalameta/metals/issues/755
- Definition Classes
- MetalsLspService
- def definitionResult(position: TextDocumentPositionParams, token: CancelToken = EmptyCancelToken): Future[DefinitionResult]
Returns textDocument/definition in addition to the resolved symbol.
Returns textDocument/definition in addition to the resolved symbol.
The resolved symbol is used for testing purposes only.
- Definition Classes
- MetalsLspService
- def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- MetalsLspService → TextDocumentService
- def didChangeWatchedFiles(events: List[FileEvent]): Future[Unit]
- Definition Classes
- MetalsLspService
- def didClose(params: DidCloseTextDocumentParams): Unit
- Definition Classes
- FallbackMetalsLspService → MetalsLspService → TextDocumentService
- def didFocus(uri: String): CompletableFuture[DidFocusResult.Value]
- Definition Classes
- MetalsLspService
- def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- MetalsLspService → TextDocumentService
- def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- MetalsLspService → TextDocumentService
- def disconnectOldBuildServer(): Future[Unit]
- Definition Classes
- MetalsLspService
- def discoverMainClasses(unresolvedParams: DebugDiscoveryParams): Future[DebugSessionParams]
- Definition Classes
- MetalsLspService
- def discoverTestSuites(uri: Option[String]): Future[List[BuildTargetUpdate]]
- Definition Classes
- MetalsLspService
- val doctor: Doctor
- Definition Classes
- MetalsLspService
- def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
- Definition Classes
- MetalsLspService → TextDocumentService
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- var excludedPackageHandler: ExcludedPackagesHandler
- Definition Classes
- MetalsLspService
- def executeCodeActionCommand(params: ExecuteCommandParams, token: CancelToken): Future[Unit]
- Definition Classes
- MetalsLspService
- def findBuildTargetByDisplayName(target: String): Option[BuildTarget]
- Definition Classes
- MetalsLspService
- def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): Future[List[Location]]
- Definition Classes
- MetalsLspService
- val folderReportsZippper: FolderReportsZippper
- Definition Classes
- MetalsLspService
- def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def fullConnect(): Future[Unit]
- Definition Classes
- MetalsLspService
- def generateBspConfig(): Future[Unit]
- Definition Classes
- MetalsLspService
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getLocationForSymbol(symbol: String): Option[Location]
- Definition Classes
- MetalsLspService
- def getTastyForURI(uri: URI): Future[Either[String, String]]
- Definition Classes
- MetalsLspService
- def getVisibleName: String
- Definition Classes
- MetalsLspService
- val gitHubIssueFolderInfo: GitHubIssueFolderInfo
- Definition Classes
- MetalsLspService
- def gotoSupermethod(textDocumentPositionParams: TextDocumentPositionParams): CompletableFuture[AnyRef]
- Definition Classes
- MetalsLspService
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hover(params: HoverExtParams): CompletableFuture[Hover]
- Definition Classes
- MetalsLspService → TextDocumentService
- def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def indexSources(): Future[Unit]
- Definition Classes
- MetalsLspService
- var indexingPromise: Promise[Unit]
- Definition Classes
- MetalsLspService
- def initialized(): Future[Unit]
- Definition Classes
- MetalsLspService
- def inlayHintResolve(inlayHint: InlayHint): CompletableFuture[InlayHint]
- Definition Classes
- MetalsLspService → TextDocumentService
- def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def interactivePopupChoiceReset(): Future[Unit]
- Definition Classes
- MetalsLspService
- val isCancelled: AtomicBoolean
- Definition Classes
- MetalsLspService
- def isCompatibleVersion(buildTool: BuildTool): Verified
- Definition Classes
- MetalsLspService
- val isConnecting: AtomicBoolean
- Definition Classes
- MetalsLspService
- val isImportInProcess: AtomicBoolean
- Definition Classes
- MetalsLspService
- val isInitialized: AtomicBoolean
- Definition Classes
- MetalsLspService
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val isMetalsProject: Boolean
- Definition Classes
- Folder
- def javaHome: Option[String]
- Definition Classes
- MetalsLspService
- def loadedPresentationCompilerCount(): Int
- Definition Classes
- MetalsLspService
- def mainClassSearch(params: DebugUnresolvedMainClassParams): MainClassSearch
- Definition Classes
- MetalsLspService
- def maybeImportScript(path: io.AbsolutePath): Option[Future[Unit]]
- Definition Classes
- FallbackMetalsLspService → MetalsLspService
- def maybeSetupScalaCli(): Future[Unit]
If there is no auto-connectable build server and no supported build tool is found we assume it's a scala-cli project.
If there is no auto-connectable build server and no supported build tool is found we assume it's a scala-cli project.
- Definition Classes
- MetalsLspService
- def nameOrUri: String
- Definition Classes
- Folder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def onShutdown(): Unit
- Definition Classes
- MetalsLspService
- def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def onUserConfigUpdate(newConfig: UserConfiguration): Future[Unit]
- Definition Classes
- MetalsLspService
- lazy val optDelegatePath: Option[io.AbsolutePath]
A workspace folder might be a project reference for an other project.
A workspace folder might be a project reference for an other project. In that case all its commands will be delegated to the main project's service. We keep the path to main project's root in a dedicated setting, so even before the main project is imported, this folder is known to be a reference.
- Definition Classes
- Folder
- def optProjectRoot(): Option[io.AbsolutePath]
- Definition Classes
- MetalsLspService
- val parseTrees: BatchedFunction[io.AbsolutePath, Unit]
- Definition Classes
- MetalsLspService
- def parseTreesAndPublishDiags(paths: Seq[io.AbsolutePath]): Future[Unit]
- Definition Classes
- MetalsLspService
- val path: io.AbsolutePath
- Definition Classes
- Folder
- def pause(): Unit
- Definition Classes
- MetalsLspService
- val pauseables: Pauseable
- Definition Classes
- MetalsLspService
- def prepareCallHierarchy(params: CallHierarchyPrepareParams): CompletableFuture[java.util.List[CallHierarchyItem]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
- Definition Classes
- MetalsLspService → TextDocumentService
- def quickConnectToBuildServer(): Future[BuildChange]
- Definition Classes
- MetalsLspService
- def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def referencesResult(params: ReferenceParams): List[ReferencesResult]
- Definition Classes
- MetalsLspService
- def register[T <: Cancelable](cancelable: T): T
- Definition Classes
- MetalsLspService
- def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
- Definition Classes
- MetalsLspService → TextDocumentService
- implicit val reports: StdReportContext
- Definition Classes
- MetalsLspService
- def resetNotifications(): Future[Unit]
- Definition Classes
- MetalsLspService
- def resetPopupChoice(value: String): Future[Unit]
- Definition Classes
- MetalsLspService
- def resetWorkspace(): Future[Unit]
- Definition Classes
- MetalsLspService
- def restartBspServer(): Future[Boolean]
- Definition Classes
- MetalsLspService
- def restartCompiler(): Future[Unit]
- Definition Classes
- MetalsLspService
- def runDoctorCheck(): Unit
- Definition Classes
- MetalsLspService
- def runScalafix(uri: String): Future[ApplyWorkspaceEditResponse]
- Definition Classes
- MetalsLspService
- def runScalafixRules(uri: String, rules: List[String]): Future[ApplyWorkspaceEditResponse]
- Definition Classes
- MetalsLspService
- val scalaCli: ScalaCliServers
- Definition Classes
- MetalsLspService
- def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
- Definition Classes
- MetalsLspService → 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
- MetalsLspService → TextDocumentService
- def setUserConfig(newConfig: UserConfiguration): UserConfiguration
- Definition Classes
- MetalsLspService
- def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
- Definition Classes
- MetalsLspService → TextDocumentService
- def slowConnectToBuildServer(forceImport: Boolean): Future[BuildChange]
- Definition Classes
- MetalsLspService
- val stacktraceAnalyzer: StacktraceAnalyzer
- Definition Classes
- MetalsLspService
- def startDebugProvider(params: DebugSessionParams): Future[DebugSession]
- Definition Classes
- MetalsLspService
- def startScalaCli(path: io.AbsolutePath): Future[Unit]
- Definition Classes
- MetalsLspService
- def startTestSuite(target: BuildTarget, params: ScalaTestSuitesDebugRequest): Future[DebugSession]
- Definition Classes
- MetalsLspService
- def stopScalaCli(): Future[Unit]
- Definition Classes
- MetalsLspService
- def superMethodHierarchy(textDocumentPositionParams: TextDocumentPositionParams): CompletableFuture[AnyRef]
- Definition Classes
- MetalsLspService
- def supportedBuildTool(): Future[Option[Found]]
- Definition Classes
- MetalsLspService
- def supportsBuildTarget(target: BuildTargetIdentifier): Option[BuildTarget]
- Definition Classes
- MetalsLspService
- def switchBspServer(): Future[Unit]
- Definition Classes
- MetalsLspService
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tables: Tables
- Definition Classes
- MetalsLspService
- def testClassSearch(params: DebugUnresolvedTestClassParams): TestClassSearch
- Definition Classes
- MetalsLspService
- def toString(): String
- Definition Classes
- AnyRef → Any
- val treeView: FolderTreeViewProvider
- Definition Classes
- MetalsLspService
- def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def unpause(): Unit
- Definition Classes
- MetalsLspService
- val visibleName: Option[String]
- Definition Classes
- Folder
- 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])
- val wasInitialized: AtomicBoolean
- Definition Classes
- MetalsLspService
- val willGenerateBspConfig: AtomicReference[Set[UUID]]
- Definition Classes
- MetalsLspService
- def willRenameFile(oldPath: io.AbsolutePath, newPath: io.AbsolutePath): Future[WorkspaceEdit]
- Definition Classes
- MetalsLspService
- def withWillGenerateBspConfig[T](body: => Future[T]): Future[T]
- Definition Classes
- MetalsLspService
- val worksheetProvider: WorksheetProvider
- Definition Classes
- MetalsLspService
- def workspaceSymbol(query: String): Seq[SymbolInformation]
- Definition Classes
- MetalsLspService
- def workspaceSymbol(params: WorkspaceSymbolParams, token: CancelToken): Future[List[SymbolInformation]]
- Definition Classes
- MetalsLspService
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)