package metals
- Alphabetic
- Public
- All
Type Members
- case class ActiveJson(uri: String) extends Product with Serializable
-
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
- 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
-
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.
- abstract class Formatter extends AnyRef
- class Linter extends AnyRef
-
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.
- class MetalsServices extends AnyRef
- case class MissingActiveJson(path: org.langmeta.io.AbsolutePath) extends Exception with Product with Serializable
- case class ModuleID(organization: String, name: String, version: String) extends Product with Serializable
- case class SbtExecParams(commandLine: String) extends Product with Serializable
- case class SbtInitializeParams(initializationOptions: Json = io.circe.Json.obj()) extends Product with Serializable
- case class SbtInitializeResult(json: Json) extends Product with Serializable
- case class SbtServerConnectionError(msg: String) extends Exception with Product with Serializable
- case class SettingParams(setting: String) extends Product with Serializable
- case class SettingResult(value: Json, contentType: Json) extends Product with Serializable
-
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
- sealed trait WorkspaceCommand extends EnumEntry with Uncapitalised
Value Members
- object ActiveJson extends Serializable
- object Buffers
- object Configuration extends Serializable
- object Effects
- object Formatter
- object Jars
- object LSPLogger extends Writer
- object MSchedulers extends Serializable
- object Main
- object MetalsLogger
- object MetalsServices
- object ModuleID extends Serializable
- object Parser
- object SbtExecParams extends Serializable
- object SbtInitializeParams extends Serializable
- object SbtInitializeResult extends Serializable
- object ScalametaEnrichments
- object Semanticdbs
- object SettingParams extends Serializable
- object SettingResult extends Serializable
- object Uri extends Serializable
- object Workspace
- object WorkspaceCommand extends Enum[WorkspaceCommand] with Product with Serializable