playframework Setting up your preferred IDE Eclipse IDE


Example

Prerequisites

  1. Java8 (1.8.0_91)
  2. Eclipse neon (JavaScript and Web Developer)
  3. Play Framework 2.5.4

Installing Scala in Eclipse

  1. Launch the Eclipse
  2. Open Help > Eclipse Marketplace
  3. Type Scala in Find
  4. Install Scala IDE

Setup sbteclipse

  1. Open play project .\project\ plugins.sbt
  2. Add following command in plugins.sbt to convert eclipse project

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

  1. Open command and go to play project e.g. cd C:\play\play-scala. Type following at command line

activator eclipse

Importing project

  1. Go to menu File > Importin Eclipse
  2. Select Existing Projects into Workspace
  3. Select root directory

Now your project is ready to view and edit at Eclipse IDE.