sbt console - tab completion

2019-08-20 04:36发布

问题:

I'm using sbt 1.0.4 (latest as of this writing), and running sbt console brings me into the Scala REPL (project uses Scala 2.12.4). What is the keyboard command to invoke code completion? Tab does not work for me, it just adds a tab character and backspace is broken successively. I'm starting sbt from Bash in Linux.

Such that Indexe<key> -> IndexedSeq, for example.

回答1:

There is a related question. So there is a bug that affects sbt console, but one can just run sbt and then from the sbt prompt enter console, and then Tab works as expected.



标签: scala sbt