Skip to content

Commit

Permalink
Added a section about installing the Scala IDE Play2 plug-in
Browse files Browse the repository at this point in the history
Please don't merge this for the moment becuase the image is not yet available.
I'll fix it as soon as we stage the Play2 plug-in.

Fix #54
  • Loading branch information
dotta committed Apr 3, 2013
1 parent 3690d8b commit 7a45d8a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
Binary file not shown.
31 changes: 23 additions & 8 deletions src/sphinx/tutorials/play/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ 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 for `Scala 2.10 installed <http://scala-ide.org/download/current.html#for_scala_210x>`_ or

This comment has been minimized.

Copy link
@huitseeker

huitseeker Apr 4, 2013

Member

This URL depends on the stateful resolution of for_scala_210x (there's another instance in the Juno section on the same page). better to point to the #eclipse_37_indigo anchor.

This comment has been minimized.

Copy link
@dotta

dotta Apr 4, 2013

Author Member

Actually, that is exactly the link I wanted to provide, because you can only install it on Scala 2.10. But I can change it to #eclipse_37_indigo, as in the end I think people will get confused either ways :)

`Eclipse`_ 4.2 (Juno) with Scala IDE for `Scala 2.10 installed <http://scala-ide.org/download/current.html#eclipse_42>`_

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

Expand All @@ -19,6 +20,27 @@ Prerequisites

* 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. In practice, what this
means is that many of the features your are used to have in the Scala Editor (e.g.,

This comment has been minimized.

Copy link
@huitseeker

huitseeker Apr 4, 2013

Member

you are used to having / you used to have (depending on meaning) — the mixup of the two is bad grammar

This comment has been minimized.

Copy link
@dotta

dotta Apr 4, 2013

Author Member

Thx!

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
:width: 100%
:target: ../../_images/install-play2-plugin.png

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>`_. Finally, if you
experience any issue with the plug-in, make sure to file a ticket at https://github.com/scala-ide/docs/issues.

This comment has been minimized.

Copy link
@huitseeker

huitseeker Apr 4, 2013

Member

I'm not sure this is the URL you want people filing plug-in bugs at.

This comment has been minimized.

Copy link
@dotta

dotta Apr 4, 2013

Author Member

Good catch!


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

Expand Down Expand Up @@ -119,13 +141,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

1 comment on commit 7a45d8a

@huitseeker
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from mentioned comments, LGTM

Please sign in to comment.