Guide to Scala development by chszs. Blog homepage: http://blog.csdn.net/chszs、下scala Scala
The latest version of Scala is 2.10.2. There are two release packages for Windows:
1) Windows (ZIP Archive) scala-2.10.2.zip
Windows (MSI) scala-2.10.2.msi
There is also a tool:
Scala tool support (ZIP) scala-tool-support-2.10.2.zip
But Scala is most convenient to install through ide. Currently, it supports eclipse, netbeans, and intellij.
Ii. Install Scala Eclipse plug-in
Scala's Eclipse plug-in is named scalaide, namely:
The latest version of scalaide is 3.0.1.
Scalaide provides support for advanced editing and debugging of pure Scala programs or Scala and Java mixed programs.
Install the scala ide foreclipse
Search for Scala in marketplace of eclipse and find the scala IDE for eclipse. Click Next
The installation process is the same as that of other Eclipse plug-ins.
Scala ide supports Automatic Code Completion and editing and debugging of scala-only applications or Scala-Java hybrid applications.
Iii. Verify Installation
Create a Scala project named scalademo in eclipse.
Create a Scala object named hello in scalademo. The content is as follows:
ObjectHello {
DefMain (ARGs: array [String]) {
Println ("Hello world! ");
}
}
:
Select hello. Scala, right-click Run as-> Scala application, and the console outputs Hello world !.
Verify that scalaide is correctly installed and runs properly.