Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a section about installing the Scala IDE Play2 plug-in #55

Merged
merged 2 commits into from
Apr 9, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
31 changes: 22 additions & 9 deletions src/sphinx/tutorials/play/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,36 @@ This guide will show you how to configure a Play web application to import it in
Prerequisites
.............

* `Eclipse`_ 3.7 (Indigo) with Scala IDE for `Scala 2.10 installed <http://scala-ide.org/download/current.html#for_scala_210x>`_.
* `Eclipse`_ 3.7 (Indigo) with `Scala IDE 3.0 for Scala 2.10 installed <http://scala-ide.org/download/current.html#eclipse_37_indigo>`__, or

Check the :doc:`getting started </current-user-doc/gettingstarted/index>` page for instructions on how to install Scala IDE.
`Eclipse`_ 4.2 (Juno) with `Scala IDE 3.0 for Scala 2.10 installed <http://scala-ide.org/download/current.html#eclipse_42_juno>`__.

Read the :doc:`getting started </current-user-doc/gettingstarted/index>` for instructions on how to install Scala IDE.

* A basic knowledge of the Eclipse user interface is required.

* No knowledge of the Scala language is required (in this guide).

* No knowledge of the Play framework is required (in this guide).

Installing the Scala IDE Play2 plug-in
--------------------------------------

The `Scala IDE Play2 plug-in <https://github.com/scala-ide/scala-ide-play2>`_ 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 many 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.

The Play2 plug-in can be installed via **the same Eclipse update-site that you used to install
the Scala IDE**. The Play2 plug-in is listed under the *Scala IDE plugins* group.

.. image:: images/install-play2-plugin.png
:alt: install Play2 plug-in

For a comprehensive review of the main features available in the Play2 plug-in, please
read the `here <https://github.com/scala-ide/scala-ide-play2/wiki>`_.

Setting up Play 2.1
-------------------

Expand Down Expand Up @@ -119,13 +139,6 @@ Setting a few preferences in Eclipse will make everything easier to use.
:width: 100%
:target: ../../_images/refresh-on-access.png

* If you don't have the Web Development Tools for Eclipse installed, Eclipse opens ``.html`` files in a web browser. Configure it to use the ``Text Editor`` instead.

.. image:: images/play20-scalaide20-14.png
:alt: HTML file in text editor
:width: 100%
:target: ../../_images/play20-scalaide20-14.png

Importing the Play web application into Scala IDE
-------------------------------------------------

Expand Down