Packages

c

scala.meta.internal.metals

MetalsLanguageServer

class MetalsLanguageServer extends Cancelable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetalsLanguageServer
  2. Cancelable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  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. var buildServer: Option[BuildServerConnection]
  6. val buildTargets: BuildTargets
  7. def cancel(): Unit
    Definition Classes
    MetalsLanguageServerCancelable
  8. def cancelAll(): Unit
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[CodeAction]]
    Annotations
    @JsonRequest()
  11. def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
    Annotations
    @JsonRequest()
  12. val compilations: Compilations
  13. def completion(params: CompletionParams): CompletableFuture[CompletionList]
    Annotations
    @JsonRequest()
  14. def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
    Annotations
    @JsonRequest()
  15. def connectToLanguageClient(client: MetalsLanguageClient): Unit
  16. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  17. def definitionOrReferences(position: TextDocumentPositionParams, token: CancelToken = EmptyCancelToken): Future[DefinitionResult]

    Returns the the definition location or reference locations of a symbol at a given text document position.

    Returns the 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

  18. 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.

  19. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  20. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  21. def didChangeWatchedFiles(event: DirectoryChangeEvent): CompletableFuture[Unit]
  22. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  23. def didClose(params: DidCloseTextDocumentParams): Unit
    Annotations
    @JsonNotification()
  24. def didFocus(uri: String): CompletableFuture[DidFocusResult.Value]
    Annotations
    @JsonNotification()
  25. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  26. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  27. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
    Annotations
    @JsonRequest()
  28. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
    Annotations
    @JsonRequest()
  29. def documentSymbolResult(params: DocumentSymbolParams): java.util.List[DocumentSymbol]
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  32. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
    Annotations
    @JsonRequest()
  33. def exit(): Unit
    Annotations
    @JsonNotification()
  34. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. var focusedDocument: Option[io.AbsolutePath]
  36. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
    Annotations
    @JsonRequest()
  37. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def hover(params: TextDocumentPositionParams): CompletableFuture[Hover]
    Annotations
    @JsonRequest()
  41. var httpServer: Option[MetalsHttpServer]
  42. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  43. def indexWorkspace(i: ImportedBuild): Unit
  44. def initialize(params: InitializeParams): CompletableFuture[InitializeResult]
    Annotations
    @JsonRequest()
  45. def initialized(params: InitializedParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  46. val isCancelled: AtomicBoolean
  47. val isInitialized: AtomicBoolean
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. val parseTrees: BatchedFunction[io.AbsolutePath, Unit]
  53. val pauseables: Pauseable
  54. def profiledIndexWorkspace(thunk: () ⇒ Unit): Future[Unit]
  55. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  56. def referencesResult(params: ReferenceParams): ReferencesResult
  57. def register[T <: Cancelable](cancelable: T): T
  58. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
    Annotations
    @JsonRequest()
  59. def setupJna(): Unit
  60. def shutdown(): CompletableFuture[Unit]
    Annotations
    @JsonRequest()
  61. lazy val shutdownPromise: AtomicReference[Promise[Unit]]
  62. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
    Annotations
    @JsonRequest()
  63. var statusBar: StatusBar
  64. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  65. var tables: Tables
  66. def timedThunk[T](didWhat: String, onlyIf: Boolean = true)(thunk: ⇒ T): T
  67. def toString(): String
    Definition Classes
    AnyRef → Any
  68. var treeView: TreeViewProvider
  69. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
    Annotations
    @JsonRequest()
  70. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  71. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
    Annotations
    @JsonRequest()
  72. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
    Annotations
    @JsonRequest()
  73. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  74. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  75. var userConfig: UserConfiguration
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  79. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
    Annotations
    @JsonNotification()
  80. var workspace: io.AbsolutePath
  81. def workspaceSymbol(query: String): Seq[SymbolInformation]
  82. def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]
    Annotations
    @JsonRequest()

Inherited from Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped