From b0b5ee32f1f8b6e733bf244b46cab2fdafabf7ff Mon Sep 17 00:00:00 2001 From: nguyenyou Date: Tue, 22 Sep 2026 10:29:07 +0700 Subject: [PATCH] Chore: Ignore metals.sbt at any depth, not just project/ Metals generates one metals.sbt per level of sbt's meta-build: project/ metals.sbt for build.sbt, project/project/metals.sbt to support sbt files under project/, and so on. Only the first level was ignored, so the nested ones showed up as untracked files. Metals' own gitignore recommendation is the unanchored `metals.sbt`. Co-Authored-By: Claude Opus 5 (1M context) --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f5b607b9..142c3292 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ target .bsp .scalex -project/metals.sbt +metals.sbt project/.bloop node_modules