class MetalsLanguageServer extends Cancelable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetalsLanguageServer
- Cancelable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MetalsLanguageServer(ec: ExecutionContextExecutorService, buffers: Buffers = Buffers(), redirectSystemOut: Boolean = true, charset: Charset = StandardCharsets.UTF_8, time: Time = Time.system, config: MetalsServerConfig = MetalsServerConfig.default, progressTicks: ProgressTicks = ProgressTicks.braille, bspGlobalDirectories: List[io.AbsolutePath] = BspServers.globalInstallDirectories, sh: ScheduledExecutorService = ..., newBloopClassloader: () ⇒ URLClassLoader = ...)
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
- var buildServer: Option[BuildServerConnection]
- val buildTargets: BuildTargets
-
def
cancel(): Unit
- Definition Classes
- MetalsLanguageServer → Cancelable
- def cancelAll(): Unit
- val cascadeCompileSourceFiles: BatchedFunction[io.AbsolutePath, Unit]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
codeAction(params: CodeActionParams): CompletableFuture[java.util.List[CodeAction]]
- Annotations
- @JsonRequest()
-
def
codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
- Annotations
- @JsonRequest()
- val compileSourceFiles: BatchedFunction[io.AbsolutePath, Unit]
-
def
completion(params: CompletionParams): CompletableFuture[CompletionList]
- Annotations
- @JsonRequest()
-
def
completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
- Annotations
- @JsonRequest()
- def completionItemResolveSync(item: CompletionItem): CompletionItem
- def connectToLanguageClient(client: MetalsLanguageClient): Unit
-
def
definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Annotations
- @JsonRequest()
-
def
definitionResult(position: TextDocumentPositionParams, token: CancelToken = EmptyCancelToken): 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.
-
def
didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
-
def
didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
- def didChangeWatchedFiles(event: DirectoryChangeEvent): CompletableFuture[Unit]
-
def
didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
-
def
didClose(params: DidCloseTextDocumentParams): Unit
- Annotations
- @JsonNotification()
-
def
didFocus(uri: String): CompletableFuture[DidFocusResult.Value]
- Annotations
- @JsonNotification()
-
def
didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
-
def
didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
-
def
documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
- Annotations
- @JsonRequest()
-
def
documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
- Annotations
- @JsonRequest()
- def documentSymbolResult(params: DocumentSymbolParams): java.util.List[DocumentSymbol]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
- Annotations
- @JsonRequest()
-
def
exit(): Unit
- Annotations
- @JsonNotification()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
- Annotations
- @JsonRequest()
-
def
formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
- Annotations
- @JsonRequest()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hover(params: TextDocumentPositionParams): CompletableFuture[Hover]
- Annotations
- @JsonRequest()
- var httpServer: Option[MetalsHttpServer]
-
def
implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Annotations
- @JsonRequest()
- def indexWorkspace(i: ImportedBuild): Unit
-
def
initialize(params: InitializeParams): CompletableFuture[InitializeResult]
- Annotations
- @JsonRequest()
-
def
initialized(params: InitializedParams): CompletableFuture[Unit]
- Annotations
- @JsonNotification()
- val isCancelled: AtomicBoolean
- val isInitialized: AtomicBoolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isUnsupportedJavaVersion: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def profiledIndexWorkspace(thunk: () ⇒ Unit): Future[Unit]
-
def
references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
- Annotations
- @JsonRequest()
- def referencesResult(params: ReferenceParams): ReferencesResult
- def register[T <: Cancelable](cancelable: T): T
-
def
rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
- Annotations
- @JsonRequest()
- def setupJna(): Unit
-
def
shutdown(): CompletableFuture[Unit]
- Annotations
- @JsonRequest()
- lazy val shutdownPromise: AtomicReference[Promise[Unit]]
-
def
signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
- Annotations
- @JsonRequest()
- var statusBar: StatusBar
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var tables: Tables
- def timedThunk[T](didWhat: String, onlyIf: Boolean)(thunk: ⇒ T): T
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
- Annotations
- @JsonRequest()
- var userConfig: UserConfiguration
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def warnUnsupportedJavaVersion(): Unit
- var workspace: io.AbsolutePath
- def workspaceSymbol(query: String): Seq[SymbolInformation]
-
def
workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]
- Annotations
- @JsonRequest()