Scala development Getting Started Guide

Source: Internet
Author: User
Tags scala ide
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.