Packages

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, initialConfig: MetalsServerConfig = MetalsServerConfig.default, progressTicks: ProgressTicks = ProgressTicks.braille, bspGlobalDirectories: List[io.AbsolutePath] = BspServers.globalInstallDirectories, sh: ScheduledExecutorService = ..., isReliableFileWatcher: Boolean = true)

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. var ammonite: Ammonite
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. var bspSession: Option[BspSession]
  7. val buildTargets: BuildTargets
  8. def cancel(): Unit
    Definition Classes
    MetalsLanguageServerCancelable
  9. def cancelAll(): Unit
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[org.eclipse.lsp4j.CodeAction]]
    Annotations
    @JsonRequest()
  12. def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
    Annotations
    @JsonRequest()
  13. val compilations: Compilations
  14. def completion(params: CompletionParams): CompletableFuture[CompletionList]
    Annotations
    @JsonRequest()
  15. def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
    Annotations
    @JsonRequest()
  16. def connectToLanguageClient(client: MetalsLanguageClient): Unit
  17. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  18. def definitionOrReferences(positionParams: TextDocumentPositionParams, token: CancelToken = EmptyCancelToken, definitionOnly: Boolean = false): 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

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

  20. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  21. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  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): Future[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. val excludedPackageHandler: ExcludedPackagesHandler
  33. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
    Annotations
    @JsonRequest()
  34. def exit(): Unit
    Annotations
    @JsonNotification()
  35. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. var focusedDocument: Option[io.AbsolutePath]
  37. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
    Annotations
    @JsonRequest()
  38. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def hover(params: TextDocumentPositionParams): CompletableFuture[Hover]
    Annotations
    @JsonRequest()
  42. var httpServer: Option[MetalsHttpServer]
  43. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  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. def loadedPresentationCompilerCount(): Int
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  54. val parseTrees: BatchedFunction[io.AbsolutePath, Unit]
  55. val pauseables: Pauseable
  56. var popupChoiceReset: PopupChoiceReset
  57. def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
    Annotations
    @JsonRequest()
  58. def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  59. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  60. def referencesResult(params: ReferenceParams): ReferencesResult
  61. def register[T <: Cancelable](cancelable: T): T
  62. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
    Annotations
    @JsonRequest()
  63. def setupJna(): Unit
  64. def shutdown(): CompletableFuture[Unit]
    Annotations
    @JsonRequest()
  65. lazy val shutdownPromise: AtomicReference[Promise[Unit]]
  66. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
    Annotations
    @JsonRequest()
  67. var stacktraceAnalyzer: StacktraceAnalyzer
  68. var statusBar: StatusBar
  69. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  70. var tables: Tables
  71. def toString(): String
    Definition Classes
    AnyRef → Any
  72. var treeView: TreeViewProvider
  73. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
    Annotations
    @JsonRequest()
  74. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  75. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
    Annotations
    @JsonRequest()
  76. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
    Annotations
    @JsonRequest()
  77. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  78. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  79. var userConfig: UserConfiguration
  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  83. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
    Annotations
    @JsonNotification()
  84. var worksheetProvider: WorksheetProvider
  85. var workspace: io.AbsolutePath
  86. def workspaceSymbol(query: String): Seq[SymbolInformation]
  87. def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]
    Annotations
    @JsonRequest()

Inherited from Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped