-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Documentation of Play Support for Scala IDE.
Nightly builds are made available from the Scala IDE download site. The update sites are:
- for Play 2.0.x:
- for Scala IDE 3.0.x on Scala 2.9 and Eclipse 3.7 (Indigo): http://download.scala-ide.org/play2/nightly_3.0-M_indigo_2.9-M/site/
- for Play 2.1.x:
- for Scala IDE 2.1.x on Scala 2.10 and Eclipse 3.7 (Indigo): http://download.scala-ide.org/play2/nightly_3.0-M_indigo_2.10-M/site/
- for Scala IDE 2.1.x on Scala 2.10 and Eclipse 4.2 (Juno): http://download.scala-ide.org/play2/nightly_3.0-M_juno_2.10-M/site/
Different Colors for
- HTTP method
- URI static part
- URI dynamic part
- Action package part
- Action class part
- Action method name part
- Action method arguments part
- Comments
Also it has preference page for syntax coloring.
You can use ctrl+shift+f (command+shift+f) to format your route file.
You can modify the spaces between columns in the corresponding preference page.
You can go to declaration of methods of the action part. It will be directed to the appropriate method, by getting the type of arguments.
It provides different colors for these partitions of code:
- HTML Tags: It provides different coloring for attributes, tag name, values, and string literals.
- Scala Code: It provides different coloring for different tokens of scala.
- Comment
Also it has preference page for syntax coloring.
It shows compilation errors, in two levels.
- Compiling from template file into scala file.
- Compiling result scala file.
Whenever you go over each scala element, it will show you the type of that.
You can hyperlink to elements of another scala file. Hyperlinking for elements of another template file or java file is not supported for the moment.
By using ctrl+space (command+space!) you can use code completion inside scala part of your code. You cannot use it rightly after '.' or '@'. So you have to enter at least one character of the desired method or class, in order to get the suggested ones.