Packages

p

scala.meta

metals

package metals

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ActiveJson(uri: String) extends Product with Serializable
  2. class Buffers extends AnyRef

    Utility to keep local state of file contents.

    Utility to keep local state of file contents.

    If we use nio.Files.read directly then we don't pick up unsaved changes in the editor buffer. Instead, on every file open/changed we update Buffers with the file contents.

    It should be possible to avoid the need for this class, see https://github.com/sourcegraph/language-server-protocol/blob/master/extension-files.md

  3. case class Configuration(sbt: Sbt = ..., scalac: Scalac = ..., scalafmt: Scalafmt = ..., scalafix: Scalafix = ..., search: Search = ..., hover: Enabled = Configuration.Enabled.apply(true), highlight: Enabled = Configuration.Enabled.apply(false), rename: Enabled = Configuration.Enabled.apply(false)) extends Product with Serializable
  4. sealed abstract class Effects extends AnyRef

    The Metals effects.

    The Metals effects.

    Observable[Unit] is not descriptive of what the observable represents. Instead, we create Unit-like types to better document what effects are flowing through our application.

  5. abstract class Formatter extends AnyRef
  6. class Linter extends AnyRef
  7. case class MSchedulers(global: Scheduler, lsp: Scheduler, sbt: Scheduler) extends Product with Serializable

    Utility to manage monix schedulers.

    Utility to manage monix schedulers.

    global

    The default scheduler when you are unsure which one to use.

    lsp

    to communicate with LSP editor client.

    sbt

    to communicate with sbt server.

  8. class MetalsServices extends AnyRef
  9. case class MissingActiveJson(path: org.langmeta.io.AbsolutePath) extends Exception with Product with Serializable
  10. case class ModuleID(organization: String, name: String, version: String) extends Product with Serializable
  11. case class SbtExecParams(commandLine: String) extends Product with Serializable
  12. case class SbtInitializeParams(initializationOptions: Json = io.circe.Json.obj()) extends Product with Serializable
  13. case class SbtInitializeResult(json: Json) extends Product with Serializable
  14. case class SbtServerConnectionError(msg: String) extends Exception with Product with Serializable
  15. case class SettingParams(setting: String) extends Product with Serializable
  16. case class SettingResult(value: Json, contentType: Json) extends Product with Serializable
  17. sealed abstract case class Uri extends Product with Serializable

    Wrapper for a string representing a URI.

    Wrapper for a string representing a URI.

    The value is a String and not java.net.URI because - URI has a lot of methods that return null and we don't use anyways - URI supports any scheme while we are only interested in a couple schemes - Both file:///path and file:/path are valid URIs while we only use file:///path in this project in order to support storing them as strings. For context, see https://github.com/scalameta/metals/pull/127#issuecomment-351880150

  18. sealed trait WorkspaceCommand extends EnumEntry with Uncapitalised

Value Members

  1. object ActiveJson extends Serializable
  2. object Buffers
  3. object Configuration extends Serializable
  4. object Effects
  5. object Formatter
  6. object Jars
  7. object LSPLogger extends Writer
  8. object MSchedulers extends Serializable
  9. object Main
  10. object MetalsLogger
  11. object MetalsServices
  12. object ModuleID extends Serializable
  13. object Parser
  14. object SbtExecParams extends Serializable
  15. object SbtInitializeParams extends Serializable
  16. object SbtInitializeResult extends Serializable
  17. object ScalametaEnrichments
  18. object Semanticdbs
  19. object SettingParams extends Serializable
  20. object SettingResult extends Serializable
  21. object Uri extends Serializable
  22. object Workspace
  23. object WorkspaceCommand extends Enum[WorkspaceCommand] with Product with Serializable

Ungrouped