To use the Scala Plugin, switch to the Scala perspective (Window/Open Perspective/Other/Scala). In this perspective, the following wizards are available in your File/New menu:

Note that the use of these wizards is optional and an entire Scala source tree can be copied into the "src" directory of a project. If you do this, ensure that the paths of the source files only include their packages relative from the "src" directory, and remember to manually "refresh" (F5 or File/Refresh) the "src" directory after the copy is completed.

Building

Any Scala source file that exists in the source directory will be compiled when the project is built. If "Project/Build Automatically" is enabled, Scala source files will be recompiled whenever they are saved. Alternatively, otherwise, Scala source files are recompiled when "Project/Build Project" and "Project/Build All" are selected. By default, class files are saved in the project's "bin" directory. "Project/Clean" will delete all classfiles in the bin directory, as well as get rid of all project error markers. As in the Java development tool, compilation errors will appear as markers and as rows in the "Problems" view.

Editing

The Scala plugin enhances the editing of Scala source files with compilation information. This information is continuously updated during editng. The following editing services are supported: Compilation information is also used to implement syntax coloring. The coloring scheme used to highlight a file can be configured at "Window/Preferences/Scala/Editor."

Running

Given an object that extends "scala.Application", the object can be executed as an application inside Eclipse. To do this, select the "Run/Run..." menu option, select the "Scala Application" option, enter the name of the project that includes the executable object in the "Project" field, and type the package-qualified name of the object in the "Scala application object" field. Although the Scala application can be executed inside Eclipse's debugger, debugging of a Scala application is not supported yet (i.e., there is no way to step through code in Scala files). Alternatively, you can use an Interpreter shell to evaluate Scala expressions that can access Scala code in your project.

Debugging

You can also debug a running Scala application. To do this, select the "Run/Debug..." menu item and choose the Scala application you want to debug. The following debugging services are supported: