Index with Examples
Index with Examples¶
How to...¶
This page presents an index of the how-to topics with short examples for many of them. Click (details) to jump to the full explanation. See also the Basic Index, which omits the examples and just lists the topics.
Triggered execution (details)¶
Interactive mode (details)¶
Configure the prompt string (details)¶
shellPrompt := { (s: State) => System.getProperty("user.name") + "> " }
Change the location of the interactive history file (details)¶
historyPath <<= baseDirectory(t => Some(t / ".history"))
Running commands (details)¶
Configure and use Scala (details)¶
Use a local Scala installation for building a project (details)¶
scalaHome := Some(file("/path/to/scala/home/"))
Enter the Scala REPL with a project's dependencies on the classpath, but not the compiled project classes (details)¶
> console-quick
Enter the Scala REPL with a project's dependencies and compiled code on the classpath (details)¶
> console
Enter the Scala REPL with plugins and the build definition on the classpath (details)¶
> console-project
Contents