-
Notifications
You must be signed in to change notification settings - Fork 32
Home
The Play2 plug-in provides first-class support for Play2 Route and Template files in Eclipse, for both Java and Scala projects. In practice, what this means is that some of the features your are used to having in the Scala or Java Editor (e.g., syntax highlighting, errors-as-you-type reporting, code completion, hyperlinking) are also available when editing Play2 files.
- Play2 v2.1.
- Scala 2.10 (any minor version - Play2 v2.1 only supports Scala 2.10), or Java 1.5+.
- Eclipse 3.7 (Indigo) or Eclipse 4.2 (Juno).
-
Eclipse WTP: As of version 0.4.0, the Play2 plug-in depends on the Eclipse Web Tools Platform (WTP) Project. There are two ways in which the Eclipse WTP Project can be installed:
-
Automatically: when installing the Play2 plug-in through one of the update-sites detailed below, check the box
Contact all update sites during install to find required software
as seen in the screenshot below. -
Manually: Eclipse WTP can be manually installed using an update-site specific to your version of Eclipse.
- If using Eclipse 3.7 (Indigo), use: http://download.eclipse.org/webtools/repository/indigo/.
- If using Eclipse 4.2 (Juno), use: http://download.eclipse.org/webtools/repository/juno/.
- If using Eclipse 4.3 (Kepler), use: http://download.eclipse.org/webtools/repository/kepler.
-
-
Install the Scala IDE 3.0 for Scala 2.10 (if you have any doubt, have a look at the Scala IDE Getting Started guide). Even if you plan on using Play2 from Java, installing the Scala IDE is a requirement.
-
The latest stable release of the Play2 plug-in can be installed via the same update-site that you used to install the Scala IDE (yes, the one that you used just above). The Play2 plug-in is listed under the Scala IDE plugins group.
FIXME: Add image here as soon as the plug-in is available in the ecosystem
Alternatively, if you like to stay on the cutting edge, you can install the nightly build of the Play2 plug-in.
-
If you are using the Scala IDE 3.0 on Eclipse 3.7 (Indigo), then you should use the following update-site: http://scala-ide.dreamhosters.com/play2/nightly-scala-ide-3.0-e37/site/
-
If you are using the Scala IDE nightly on Eclipse 4.2 (Juno), then you should use the following update-site: http://scala-ide.dreamhosters.com/play2/nightly-scala-ide-nightly-e38/site/
If you are new to Play2, or you have any doubt about what's the best configuration for Play2 development in Eclipse, make sure not to miss the Setup and use Play framework 2.1 in Scala IDE 3.0 step-by-step guide.
Check our the Features page.
Please, make sure to file tickets for any issue you may experience in the project's issue tracker.
The Play2 plug-in could certainly use your help. Get involved now! Just pick a ticket you would like to work on, and drop us a note in the scala-ide-dev Mailing List. We'll be glad to have you in the Team!