Showing posts with label ScalaTips. Show all posts
Showing posts with label ScalaTips. Show all posts

Sunday, October 10, 2010

Installing The Scala Developer Documenation

Sometimes it is useful to have an offline version of the scala api docs installed. To install the docs you can use the sbaz tool:

sbaz install scala-devel-docs

This command installs the following documentation to $SCALA_HOME/doc/scala-devel-docs:

  • the scala api docs
  • the reference for the scala tools like scalac and sbaz
  • some code examples

Sunday, September 12, 2010

Installing Textmate Support For Scala

To install a scala bundle for Textmate you can use the Scala Bazaar System.

The sbaz binary is located in $SCALA_HOME/bin.
> sbaz install scala-tool-support
planning to install: scala-tool-support/2.8.0.final
Installing...

This downloads several scala-tools to $SCALA_HOME/misc. In particular it creates the folder
$SCALA_HOME/misc/scala-tool-support/textmate/Bundles/.

To install the scala-bundle simply unzip Scala.tmbundle.zip:

>unzip Scala.tmbundle.zip

Then doubleclick Scala.tmbundle. Thats all!