Colorized Scala REPL
See original GitHub issueI’d like to be able to get the equivalent of scala -Dscala.color
when running sbt console
. Perhaps with a new SettingKey
called scalaOptions
that would be used as follows:
(scalaOptions in console) += "-Dscala.color"
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to use color in the Scala REPL | alvinalexander.com
This image shows how to use color syntax highlighting in the Scala REPL. In short, just start the REPL like this: $ scala...
Read more >Using colors in Scala Console - Stack Overflow
It works if your console supports color. I just tried it on a linux system via putty and got the expected result. Edit:...
Read more >How to use color in the Scala REPL - Reddit
Hmm. I've just tried entering set scalacOptions += "-Dscala.color". and set scalacOptions in (Compile, console) += "-Dscala.color".
Read more >Is it possible to set the color for scala shell - Question
Scala 3 REPL uses totally different colors. I think these colors are hard-coded. You would have to manually change your own terminal colors...
Read more >Scala Interpreter background color - Google Groups
I am running the Eclipse Scala IDE plugin 4.0.0 on Luna/MacOS. The Scala Interpreter View's output has two panes. The upper pane comes...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
One way to do this is to create
~/.sbt/0.13/colour.sbt
with:Makes sense. Thanks for the help!