Skip to content
other4 active rulesVerified 2026-09-30

Metals .gitignore Template

Standard Metals gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Preconfigured with Metals
Search for templates
Quick add:
Selected1
Metals
Selected Templates (1)
.gitignore
4 rules
### Metals ###
# Metals (Scala Language Server)
# Reference: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your-gitignore
.metals/
.bloop/
.ammonite/
metals.sbt
8 lines•UTF-8
Deterministic

Raw Metals .gitignore

Crawlable upstream source template
metals.gitignore•7 lines•UTF-8
# Metals (Scala Language Server)
# Reference: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your-gitignore
.metals/
.bloop/
.ammonite/
metals.sbt

Key Pattern Breakdown

Core Ignored Rules

Primary upstream ignore rules defined for this technology.

.metals/.bloop/.ammonite/metals.sbt

Source & Verification

License: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.