Does pants have a repl for Scala? I found some doc...
# general
m
Does pants have a repl for Scala? I found some documentation, but it looks like a v1-only feature.
h
Yep!
pants repl
can run the scala repl.
m
Aha, looks like I need to pass
--shell=scala.
I assumed it would default to scala when called with a scala file (e.g.
pants repl foo/Bar.scala
)
h
Hmm, I believe it should autodetect the repl to use
maybe that is buggy
can you file an issue?
m
sure, i'll re-try with a simpler project first.
f
https://github.com/pantsbuild/pants/issues/14133 already covers the fact that the repl defaults to Python
I also have an old WIP branch where I was trying to get the Ammonite repl working.
m
Thanks, perhaps it should be added to the docs. There's no mention of a scala repl at all at the moment. I'll open a PR.