Tyler Durden
Tyler Durden

Reputation: 11558

How to install Scala support in Eclipse Neon?

How can I add Scala support to Eclipse Neon?

The Scala Documentation Getting Started page does not even describe how to install Scala at all much less how to integrate it with Neon.

Upvotes: 1

Views: 6036

Answers (2)

ap-osd
ap-osd

Reputation: 2834

On the Download Scala (Scala 2) page,

  1. First, make sure you have the Java 8 JDK (or Java 11 JDK) installed.
  2. Then, install Scala... either by installing an IDE such as IntelliJ, or sbt, Scala's build tool.

This is confusing for beginners because you don't download Scala explicitly.

Compared to other programming languages, installing Scala is a bit unusual. Scala is unusual because it is usually installed for each of your Scala projects rather than being installed system-wide.

As for the IDE, the official Scala download page recommends IntelliJ. It has seamless integration with sbt.
However, if you want to use Eclipse, get the Scala plugin from http://scala-ide.org/.

See Scala - Getting Started for details with an example, including setting up IntelliJ and Eclipse.

Upvotes: 0

Tanvi Garg
Tanvi Garg

Reputation: 316

We have Scala plugin for the Eclipse. In the eclipse, Go to Help -> Install New Software and click on Add Button providing the Name: Scala

URL: http://download.scala-ide.org/sdk/lithium/e44/scala211/stable/site

Click on Ok Button and then it will display the list of all components.Select the component Scala IDE for Eclipse and then click on Finish Button and then restart eclipse.This will add the Scala Plugin in Eclipse.

Upvotes: 6

Related Questions