Skip to content
Iulian Dragos edited this page Sep 4, 2012 · 15 revisions

Introduction

This Eclipse plugin allows experimentation with the Scala language in a new way. A worksheet is a Scala file that is evaluated on save, and the result of each expression is shown in a column to the right. Worksheets are like a REPL session on steroids, and enjoy 1st class editor support: completion, hyperlinking, interactive errors-as-you-type, auto-format, etc.

Installation

The Worksheet is published in the Scala IDE ecosystem and is installed through the normal Eclipse update mechansim. The worksheet depends on the Scala IDE being installed. Currently we only have nightly builds for the worksheet, and they depend on the Helium nightly.

Point your Eclipse installation to the desired update site and select Scala Worksheet from the list of installable software. Once the plugin is installed, restart Eclipse.

Getting Started

Create your first worksheet but right-clicking on a Scala project and choosing New Scala Worksheet. Or, if you are a shortcut junkie, hit CMD-3, type Scala worksheet and hit enter when the correct command appears in the quick command window.

Scala worksheets are normal Scala files, but instead of .scala, they end in .sc.

Features

The

Clone this wiki locally