SBT console not working
I'm using Windows 7 64bit and both Scala and sbt are working fine in the shell. But in Sublime the sbt RELP starts, prints that the project was loaded successfully, the prompt appears and after that I can enter anything I want sbt will not react at all.
I know about this behavior — it appears only on Windows, but I don't know solution yet, as I have no Windows installed.. As a temp work around, you can run a shell REPL, change directory and run sbt there.
Good idea, but it doesn't work either. I can continue to run sbt in an extra console window, the time I need to change the window sbt needs to recompile the sources anyway^^
I think, it's worth to mention for @Marvin182 or anybody else who uses similar approach, that there is a cool plugin SublimeSBT which allows you to do continuous recompilation or testing in the same sublime window and then see errors. Pretty convenient, if you don't use repl.
Thx, I will have a look at it when I work with sbt the next time.
I get the same issue with SublimeSBT, by the way. Maybe it's a bug in SBT on windows (even though it works from cmd)?
Hi, Is there any good news in this subject?
The issue above shows SBT_OPTS is the key, but how to configure SublimeREPL to fix it?
I finally get it. In user SublimeREPL setting, add "default_extend_env": {"SBT_OPTS": "-Djline.terminal=jline.UnsupportedTerminal"} Hope this helps.
Solution posted by @bendwarn above helped.