class ProjectMetalsLspService extends MetalsLspService
- Alphabetic
- By Inheritance
- ProjectMetalsLspService
- MetalsLspService
- TextDocumentService
- Cancelable
- Folder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ProjectMetalsLspService(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, bspStatus: BspStatus, workDoneProgress: WorkDoneProgress, maxScalaCliServers: Int)
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]
- def ammoniteStop(): Future[Unit]
- def analyzeStackTrace(content: String): Option[ExecuteCommandParams]
- Definition Classes
- MetalsLspService
- def applyEdits(uri: String, edits: List[TextEdit]): Future[ApplyWorkspaceEditResponse]
- Attributes
- protected
- Definition Classes
- MetalsLspService
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autoConnectToBuildServer(): Future[BuildChange]
- val bloopInstall: BloopInstall
- Attributes
- protected
- val bloopServers: BloopServers
- Attributes
- protected
- val bspConfigGenerator: BspConfigGenerator
- Attributes
- protected
- val bspConnector: BspConnector
- Attributes
- protected
- val bspErrorHandler: BspErrorHandler
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val bspServers: BspServers
- Attributes
- protected
- var bspSession: Option[BspSession]
- Definition Classes
- MetalsLspService
- val buildClient: ForwardingMetalsBuildClient
- Definition Classes
- MetalsLspService
- def buildData(): Seq[BuildTool]
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def buildHasErrors(path: io.AbsolutePath): Boolean
- Definition Classes
- MetalsLspService
- var buildServerPromise: Promise[Unit]
- Definition Classes
- MetalsLspService
- val buildTargetClasses: BuildTargetClasses
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val buildTargets: BuildTargets
- Definition Classes
- MetalsLspService
- def buildTool: Option[BuildTool]
- Attributes
- protected
- val buildToolSelector: BuildToolSelector
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val buildTools: BuildTools
- Attributes
- protected
- 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
- val callHierarchyProvider: CallHierarchyProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def cancel(): Unit
- Definition Classes
- MetalsLspService → Cancelable
- def cancelCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- val cancelables: MutableCancelable
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def cascadeCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- def check(): Unit
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def checkRunningBloopVersion(bspServerVersion: String): Unit
- Attributes
- protected
- def chooseClass(uri: String, granurality: ClassFinderGranularity): Future[DecoderResponse]
- Definition Classes
- MetalsLspService
- def cleanCompile(): Future[Unit]
- Definition Classes
- MetalsLspService
- def clearBloopDir(folder: io.AbsolutePath): Unit
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def clearFolders(folders: io.AbsolutePath*): Unit
- Attributes
- protected
- 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
- val codeActionProvider: CodeActionProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val codeLensProvider: CodeLensProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val compilations: Compilations
- Definition Classes
- MetalsLspService
- val compilers: Compilers
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def completion(params: CompletionParams): CompletableFuture[CompletionList]
- Definition Classes
- MetalsLspService → TextDocumentService
- def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
- Definition Classes
- MetalsLspService → TextDocumentService
- def conflictsWithMainBsp(nioDir: Path): Boolean
- Attributes
- protected
- def connectToNewBuildServer(session: BspSession): Future[BuildChange]
- Attributes
- protected
- val connectionBspStatus: ConnectionBspStatus
- Attributes
- protected
- Definition Classes
- MetalsLspService
- 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
- val debugProvider: DebugProvider
- Attributes
- protected
- 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
- val definitionIndex: OnDemandSymbolIndex
- Attributes
- protected
- Definition Classes
- MetalsLspService
- 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
- val definitionProvider: DefinitionProvider
- Attributes
- protected
- 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
- val diagnostics: Diagnostics
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService → TextDocumentService
- def didChangeWatchedFiles(event: FileWatcherEvent): CompletableFuture[Unit]
Callback that is executed on a file change event by the file watcher.
Callback that is executed on a file change event by the file watcher.
Note that if you are adding processing of another kind of a file, be sure to include it in the fileWatchFilter
This method is run synchronously in the FileWatcher, so it should not do anything expensive on the main thread
- Attributes
- protected
- def didChangeWatchedFiles(events: List[FileEvent]): Future[Unit]
- Definition Classes
- MetalsLspService
- def didClose(params: DidCloseTextDocumentParams): Unit
- Definition Classes
- MetalsLspService → TextDocumentService
- def didCompileTarget(report: CompileReport): Unit
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- 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
- ProjectMetalsLspService → MetalsLspService → TextDocumentService
- def disconnectOldBuildServer(): Future[Unit]
- 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
- val documentSymbolProvider: DocumentSymbolProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val embedded: Embedded
- Attributes
- protected
- Definition Classes
- MetalsLspService
- 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
- implicit val executionContext: ExecutionContextExecutorService
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val fileDecoderProvider: FileDecoderProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val fileSystemSemanticdbs: FileSystemSemanticdbs
- Attributes
- protected
- def fileWatchFilter(path: Path): Boolean
This filter is an optimization and it is closely related to which files are processed in didChangeWatchedFiles
This filter is an optimization and it is closely related to which files are processed in didChangeWatchedFiles
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val fileWatcher: ProjectFileWatcher
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def findBuildTargetByDisplayName(target: String): Option[BuildTarget]
- Definition Classes
- MetalsLspService
- def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): Future[List[Location]]
- Definition Classes
- MetalsLspService
- val findTextInJars: FindTextInDependencyJars
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val fingerprints: MutableMd5Fingerprints
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val focusedDocumentBuildTarget: AtomicReference[BuildTargetIdentifier]
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val folderReportsZippper: FolderReportsZippper
- Definition Classes
- MetalsLspService
- def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val foldingRangeProvider: FoldingRangeProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val formattingProvider: FormattingProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def fullConnect(): Future[Unit]
- def generateBspAndConnect(buildTool: BuildServerProvider): Future[BuildChange]
- Attributes
- protected
- def generateBspConfig(): Future[Unit]
- 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
- 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
- val implementationProvider: ImplementationProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def importAfterScalaCliChanges(servers: Iterable[ScalaCli]): Iterable[Unit]
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def importBuild(session: BspSession): Future[Unit]
- Attributes
- protected
- def indexSources(): Future[Unit]
- Definition Classes
- MetalsLspService
- val indexer: Indexer
- Attributes
- protected
- 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
- val inlayHintResolveProvider: InlayHintResolveProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def inlayHints(params: InlayHintParams): CompletableFuture[java.util.List[InlayHint]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def interactivePopupChoiceReset(): Future[Unit]
- val interactiveSemanticdbs: InteractiveSemanticdbs
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val isCancelled: AtomicBoolean
- Definition Classes
- MetalsLspService
- val isConnecting: AtomicBoolean
- val isImportInProcess: AtomicBoolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val isMetalsProject: Boolean
- Definition Classes
- Folder
- def isMillBuildSc(path: io.AbsolutePath): Boolean
- Attributes
- protected
- val javaFormattingProvider: JavaFormattingProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val javaHighlightProvider: JavaDocumentHighlightProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def javaHome: Option[String]
- Definition Classes
- MetalsLspService
- def loadFingerPrints(): Future[Unit]
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def loadedPresentationCompilerCount(): Int
- Definition Classes
- MetalsLspService
- val mainBuildTargetsData: TargetData
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def mainClassSearch(params: DebugUnresolvedMainClassParams): MainClassSearch
- Definition Classes
- MetalsLspService
- def maybeAmendScalaCliBspConfig(file: io.AbsolutePath): Future[Unit]
- Attributes
- protected
- def maybeChooseServer(name: String, alreadySelected: Boolean): Any
- Attributes
- protected
- def maybeCompileOnDidFocus(path: io.AbsolutePath, prevBuildTarget: BuildTargetIdentifier): Future[DidFocusResult.Value]
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def maybeImportFileAndLoad(path: io.AbsolutePath, load: () => Future[Unit]): Future[Unit]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def maybeImportScript(path: io.AbsolutePath): Option[Future[Unit]]
- 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.
- val mtags: Mtags
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def nameOrUri: String
- Definition Classes
- Folder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val newFileProvider: NewFileProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def newSymbolIndex(): OnDemandSymbolIndex
- Attributes
- protected
- Definition Classes
- MetalsLspService
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val onBuildChanged: BatchedFunction[io.AbsolutePath, Unit]
- Attributes
- protected
- def onBuildChangedUnbatched(paths: Seq[io.AbsolutePath]): Future[Unit]
- Attributes
- protected
- def onBuildTargetChanges(params: DidChangeBuildTarget): Unit
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def onBuildToolsAdded(currentBuildToolName: String, newBuildToolsChanged: Seq[String]): Future[Unit]
- Attributes
- protected
- def onChange(paths: Seq[io.AbsolutePath]): Future[Unit]
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def onCreate(path: io.AbsolutePath): Unit
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def onDelete(path: io.AbsolutePath): Future[Unit]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def onInitialized(): Future[Unit]
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def onShutdown(): Unit
- Definition Classes
- MetalsLspService
- def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val onTypeFormattingProvider: OnTypeFormattingProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def onUserConfigUpdate(newConfig: UserConfiguration): Future[Unit]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def onWorksheetChanged(paths: Seq[io.AbsolutePath]): Future[Unit]
- Attributes
- protected
- 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 optFileSystemSemanticdbs(): Option[FileSystemSemanticdbs]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def optProjectRoot: Option[io.AbsolutePath]
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- val packageProvider: PackageProvider
- Attributes
- protected
- 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
- ProjectMetalsLspService → 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 projectInfo: MetalsServiceInfo
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def projectReferences: List[io.AbsolutePath]
- Definition Classes
- Folder
- def quickConnectToBuildServer(): Future[BuildChange]
- def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val rangeFormattingProvider: RangeFormattingProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val recentlyOpenedFiles: ActiveFiles
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val referencesProvider: ReferenceProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def referencesResult(params: ReferenceParams): Future[List[ReferencesResult]]
- Definition Classes
- MetalsLspService
- def register[T <: Cancelable](cancelable: T): T
- Definition Classes
- MetalsLspService
- def registerNiceToHaveFilePatterns(): Unit
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
- Definition Classes
- MetalsLspService → TextDocumentService
- val renameProvider: RenameProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- implicit val reports: StdReportContext
- Definition Classes
- MetalsLspService
- def resetNotifications(): Future[Unit]
- Definition Classes
- MetalsLspService
- def resetPopupChoice(value: String): Future[Unit]
- def resetService(): Unit
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def resetWorkspace(): Future[Unit]
- def restartBspServer(): Future[Boolean]
- def restartCompiler(): Future[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
- def saveProjectReferencesInfo(bspBuilds: List[BspBuild]): Unit
- val savedFiles: ActiveFiles
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val scalaCli: ScalaCliServers
- Definition Classes
- MetalsLspService
- def scalaCliDirOrFile(path: io.AbsolutePath): io.AbsolutePath
Returns the absolute path or directory that ScalaCLI imports as ScalaCLI scripts.
Returns the absolute path or directory that ScalaCLI imports as ScalaCLI scripts. By default, ScalaCLI tries to import the entire directory as ScalaCLI scripts. However, we have to ensure that there are no clashes with other existing sourceItems see: https://github.com/scalameta/metals/issues/4447
- path
the absolute path of the ScalaCLI script to import
- val scalaVersionSelector: ScalaVersionSelector
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val scalafixProvider: ScalafixProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
- Definition Classes
- MetalsLspService → TextDocumentService
- val semanticDBIndexer: SemanticdbIndexer
- Attributes
- protected
- Definition Classes
- MetalsLspService
- 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
- val semanticdbs: Semanticdbs
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- def setUserConfig(newConfig: UserConfiguration): UserConfiguration
- Definition Classes
- MetalsLspService
- def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
- Definition Classes
- MetalsLspService → TextDocumentService
- def slowConnectToBloopServer(forceImport: Boolean, buildTool: BloopInstallProvider, checksum: String): Future[BuildChange]
- Attributes
- protected
- def slowConnectToBuildServer(forceImport: Boolean): Future[BuildChange]
- def slowConnectToBuildToolBsp(buildTool: BuildServerProvider, forceImport: Boolean, isSelected: Boolean): Future[BuildChange]
- Attributes
- protected
- val sourceMapper: SourceMapper
- Attributes
- protected
- 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
- ProjectMetalsLspService → 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
- val supermethods: Supermethods
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def supportedBuildTool(): Future[Option[Found]]
- def supportsBuildTarget(target: BuildTargetIdentifier): Option[BuildTarget]
- Definition Classes
- MetalsLspService
- def switchBspServer(): Future[Unit]
- val symbolDocs: Docstrings
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val symbolHierarchyOps: SymbolHierarchyOps
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val symbolSearch: MetalsSymbolSearch
- Attributes
- protected
- 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
- val testProvider: TestSuitesProvider
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def toString(): String
- Definition Classes
- AnyRef → Any
- val treeView: FolderTreeViewProvider
- val trees: Trees
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Definition Classes
- MetalsLspService → TextDocumentService
- def unpause(): Unit
- Definition Classes
- MetalsLspService
- def updateBspJavaHome(session: BspSession): Future[Any]
- Attributes
- protected
- var userConfig: UserConfiguration
- Attributes
- protected
- Definition Classes
- MetalsLspService
- val userConfigPromise: Promise[Unit]
- Attributes
- protected
- 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 warnings: ProjectWarnings
- Attributes
- protected
- Definition Classes
- ProjectMetalsLspService → MetalsLspService
- val wasInitialized: AtomicBoolean
- Definition Classes
- MetalsLspService
- val willGenerateBspConfig: AtomicReference[Set[UUID]]
- def willRenameFile(oldPath: io.AbsolutePath, newPath: io.AbsolutePath): Future[WorkspaceEdit]
- Definition Classes
- MetalsLspService
- def withWillGenerateBspConfig[T](body: => Future[T]): Future[T]
- val worksheetProvider: WorksheetProvider
- Definition Classes
- MetalsLspService
- val workspaceReload: WorkspaceReload
- Attributes
- protected
- Definition Classes
- MetalsLspService
- def workspaceSymbol(query: String): Seq[SymbolInformation]
- Definition Classes
- MetalsLspService
- def workspaceSymbol(params: WorkspaceSymbolParams, token: CancelToken): Future[List[SymbolInformation]]
- Definition Classes
- MetalsLspService
- val workspaceSymbols: WorkspaceSymbolProvider
- Attributes
- protected
- 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)