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

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. var buildServerPromise: Promise[Unit]
  8. val buildTargets: BuildTargets
  9. def cancel(): Unit
    Definition Classes
    MetalsLanguageServerCancelable
  10. def cancelAll(): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def codeAction(params: CodeActionParams): CompletableFuture[java.util.List[org.eclipse.lsp4j.CodeAction]]
    Annotations
    @JsonRequest()
  13. def codeLens(params: CodeLensParams): CompletableFuture[java.util.List[CodeLens]]
    Annotations
    @JsonRequest()
  14. val compilations: Compilations
  15. def completion(params: CompletionParams): CompletableFuture[CompletionList]
    Annotations
    @JsonRequest()
  16. def completionItemResolve(item: CompletionItem): CompletableFuture[CompletionItem]
    Annotations
    @JsonRequest()
  17. def connectToLanguageClient(client: MetalsLanguageClient): Unit
  18. def definition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  19. 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

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

  21. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  22. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  23. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  24. def didClose(params: DidCloseTextDocumentParams): Unit
    Annotations
    @JsonNotification()
  25. def didFocus(params: AnyRef): CompletableFuture[DidFocusResult.Value]
    Annotations
    @JsonNotification()
  26. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  27. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  28. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[java.util.List[DocumentHighlight]]
    Annotations
    @JsonRequest()
  29. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[org.eclipse.lsp4j.jsonrpc.messages.Either[java.util.List[DocumentSymbol], java.util.List[SymbolInformation]]]
    Annotations
    @JsonRequest()
  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. def findTextInDependencyJars(params: FindTextInDependencyJarsRequest): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  37. var findTextInJars: FindTextInDependencyJars
  38. var focusedDocument: Option[io.AbsolutePath]
  39. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[java.util.List[FoldingRange]]
    Annotations
    @JsonRequest()
  40. def formatting(params: DocumentFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def hover(params: HoverExtParams): CompletableFuture[Hover]
    Annotations
    @JsonRequest()
  44. var httpServer: Option[MetalsHttpServer]
  45. def implementation(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  46. def initialize(params: InitializeParams): CompletableFuture[InitializeResult]
    Annotations
    @JsonRequest()
  47. def initialized(params: InitializedParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  48. val isCancelled: AtomicBoolean
  49. val isInitialized: AtomicBoolean
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def loadedPresentationCompilerCount(): Int
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. def onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  56. val parseTrees: BatchedFunction[io.AbsolutePath, Unit]
  57. def parseTreesAndPublishDiags(paths: Seq[io.AbsolutePath]): Future[Seq[Unit]]
  58. val pauseables: Pauseable
  59. var popupChoiceReset: PopupChoiceReset
  60. def prepareRename(params: TextDocumentPositionParams): CompletableFuture[org.eclipse.lsp4j.Range]
    Annotations
    @JsonRequest()
  61. def rangeFormatting(params: DocumentRangeFormattingParams): CompletableFuture[java.util.List[TextEdit]]
    Annotations
    @JsonRequest()
  62. def references(params: ReferenceParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  63. def referencesResult(params: ReferenceParams): ReferencesResult
  64. def register[T <: Cancelable](cancelable: T): T
  65. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
    Annotations
    @JsonRequest()
  66. def selectionRange(params: SelectionRangeParams): CompletableFuture[java.util.List[SelectionRange]]
    Annotations
    @JsonRequest()
  67. def setupJna(): Unit
  68. def shutdown(): CompletableFuture[Unit]
    Annotations
    @JsonRequest()
  69. lazy val shutdownPromise: AtomicReference[Promise[Unit]]
  70. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
    Annotations
    @JsonRequest()
  71. var stacktraceAnalyzer: StacktraceAnalyzer
  72. var statusBar: StatusBar
  73. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  74. var tables: Tables
  75. def toString(): String
    Definition Classes
    AnyRef → Any
  76. var treeView: TreeViewProvider
  77. def treeViewChildren(params: TreeViewChildrenParams): CompletableFuture[MetalsTreeViewChildrenResult]
    Annotations
    @JsonRequest()
  78. def treeViewNodeCollapseDidChange(params: TreeViewNodeCollapseDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  79. def treeViewParent(params: TreeViewParentParams): CompletableFuture[TreeViewParentResult]
    Annotations
    @JsonRequest()
  80. def treeViewReveal(params: TextDocumentPositionParams): CompletableFuture[TreeViewNodeRevealResult]
    Annotations
    @JsonRequest()
  81. def treeViewVisibilityDidChange(params: TreeViewVisibilityDidChangeParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  82. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[java.util.List[Location]]
    Annotations
    @JsonRequest()
  83. var userConfig: UserConfiguration
  84. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  87. def windowStateDidChange(params: WindowStateDidChangeParams): Unit
    Annotations
    @JsonNotification()
  88. var worksheetProvider: WorksheetProvider
  89. var workspace: io.AbsolutePath
  90. def workspaceSymbol(query: String): Seq[SymbolInformation]
  91. def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[java.util.List[SymbolInformation]]
    Annotations
    @JsonRequest()

Inherited from Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped