Fixes a batch of grammatical mistakes found across the `docs/` folder: typos/misspellings, subject-verb agreement errors, missing and duplicated words, article errors (`a`/`an`), wrong word forms, and punctuation issues (doubled periods, unclosed parentheses). Scope is limited to prose in `docs/src/**`; no behavior, settings, or code changes. 33 files updated, 49 lines changed. Representative fixes: - `globs.md`: "features varies" -> "features"; "platforms libc" -> "platform's libc". - `installation.md`: "the follow macOS releases" -> "the following macOS releases". - `key-bindings.md`: "command pallets" -> "command palette's". - `linux.md`: capitalization after a period; "able to the environment variable" -> "able to set the environment variable"; "These feature also requires" -> "This feature also requires". - `multibuffers.md`: "Window/Linux" -> "Windows/Linux"; added a missing closing parenthesis. - `reference/all-settings.md`: several agreement/article/missing-word fixes plus an unclosed parenthesis. - `languages/*`: "partent" -> "parent", "complimentary" -> "complementary", "setup" -> "set up", "is enabled" -> "are enabled", and similar. Release Notes: - N/A
1.6 KiB
1.6 KiB
title, description
| title | description |
|---|---|
| Scala | Configure Scala language support in Zed, including language servers, formatting, and debugging. |
Scala
Scala language support in Zed is provided by the community-maintained Scala extension. Report issues to: https://github.com/scalameta/metals-zed/issues
- Tree-sitter: tree-sitter/tree-sitter-scala
- Language Server: scalameta/metals
Setup
- Install Scala with
cs setup(Coursier): https://www.scala-lang.org/download/brew install coursier/formulas/coursier && cs setup
- REPL (Almond) Setup Instructions https://almond.sh/docs/quick-start-install
brew install --cask temurin(Eclipse foundation official OpenJDK binaries)brew install coursier/formulas/coursier && cs setupcoursier launch --use-bootstrap almond -- --install
Configuration
Behavior of the Metals language server can be controlled with:
.scalafix.conffile - See Scalafix Configuration.scalafmt.conffile - See Scalafmt Configuration
You can place these files in the root of your project or specify their location in the Metals configuration. See Metals User Configuration for more.