gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

Ignore BSP directory

Open steinybot opened this issue 4 years ago • 2 comments

Reasons for making this change:

Ignore the new .bsp/ directory that is created by sbt 1.4.0 and later.

Links to documentation supporting these rule changes:

https://www.scala-sbt.org/1.x/docs/Combined+Pages.html#Build+server+protocol+%28BSP%29+support

sbt 1.4.0 adds build server protocol (BSP) support, contributed by Scala Center. Main implementation was done by Adrien Piquerez (@adpi2) based on @eed3si9n’s prototype.

When sbt 1.4.0 starts, it will create a file named .bsp/sbt.json containing a machine-readable instruction on how to run sbt -bsp, which is a command line program that uses standard input and output to communicate to sbt server using build server protocol.

Confirmation from Adrien (the main implementer) that .bsp should be ignored: https://gitter.im/sbt/sbt?at=5fc34d888c7c4215bb9726ef

steinybot avatar Nov 29 '20 07:11 steinybot

Duplicate of https://github.com/github/gitignore/pull/3552 and https://github.com/github/gitignore/pull/3561 - however, this PR has probably the best justification of all three.

generalmimon avatar Jan 28 '22 13:01 generalmimon

Attempting to get this (back) into https://github.com/toptal/gitignore/pull/461 instead

steinybot avatar Jun 13 '22 18:06 steinybot