-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
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
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dotta
Author
Member
|
||
`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. | ||
|
||
|
@@ -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.
Sorry, something went wrong.
huitseeker
Member
|
||
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.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
Setting up Play 2.1 | ||
------------------- | ||
|
||
|
@@ -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 | ||
------------------------------------------------- | ||
|
||
|
1 comment
on commit 7a45d8a
There was a problem hiding this comment.
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
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.