We will be using the Scala IDE for Eclipse.
If you already have Eclipse installed, it's better to ignore
it and download this version into a separate directory.
Download and install the latest version of the Scala IDE from:
http://scala-ide.org/download/sdk.html
Although the API documentation is available online, you will
need to download it. Not only will this give you a local copy of the API
documentation, but the download also includes documentation for some needed add-on
libraries.
Unfortunately, the documentation download is hard to find.
From Scala's main page ( http://www.scala-lang.org/ ), navigate to
the download page for the latest version of Scala. (You don't actually need to
download the Scala interpreter since it's included with the Scala IDE that you
just downloaded.) Scroll to the archive
section near the bottom of the page. Click on the scala-docs
link for the latest version of Scala.
For example, here's where I found the scala-docs
link for version 2.11.12:
http://www.scala-lang.org/download/2.11.2.html.
Here's a link to a .zip file containing the documentation:
http://downloads.typesafe.com/scala/2.11.2/scala-docs-2.11.2.zip
Although this library used to be included in the standard
download, it now must be downloaded separately as an executable .jar file.
Later, when we begin writing parsers, it will be necessary to add this .jar
file to the Eclipse project's build path. Download the latest scala-parser-combinators .jar
files from:
http://mvnrepository.com/artifact/org.scala-lang/scala-parser-combinators/2.11.0-M4
Here's a snapshot of the directory structure I set up on my
computer:
scala
api // from scala-docs download
jars
scala-compiler // parser api docs
here
scala-library // the main api docs
are here
scala-reflect
eclipse
eclipse // the app
scala-parser-combinators-2.11.0-M4 //
executable jar file