diff --git a/src/sphinx/tutorials/play/images/play20-scalaide20-14.png b/src/sphinx/tutorials/play/images/play20-scalaide20-14.png deleted file mode 100644 index e6442bc0..00000000 Binary files a/src/sphinx/tutorials/play/images/play20-scalaide20-14.png and /dev/null differ diff --git a/src/sphinx/tutorials/play/index.rst b/src/sphinx/tutorials/play/index.rst index d2d5c15c..f7f76d73 100644 --- a/src/sphinx/tutorials/play/index.rst +++ b/src/sphinx/tutorials/play/index.rst @@ -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 `_. +* `Eclipse`_ 3.7 (Indigo) with Scala IDE for `Scala 2.10 installed `_ or + `Eclipse`_ 4.2 (Juno) with Scala IDE for `Scala 2.10 installed `_ Check the :doc:`getting started ` 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 `_ 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., +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 `_. Finally, if you +experience any issue with the plug-in, make sure to file a ticket at https://github.com/scala-ide/docs/issues. + 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 -------------------------------------------------