This tutorial is going to show you how to set up a Play Framework 2.6 project on Eclipse IDE.
First you need to install the sbteclipse plugin to enable the command sbt eclipse
.
When declaring plugins you have the options of declaring them globally or at the project level, for the sake of simplicity we are going to declare it globally in our SBT installation.
Go to the <your_user>/.sbt/<version>
folder. If you don’t have a plugins
directory, create one:
mkdir plugins cd plugins
Inside of the plugins
folder, create a new file called plugins.sbt
with the following content:
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
Inside of an existing Play project (check this tutorial if you don’t know how to create one), run the following command to add the Eclipse nature to your project:
sbt eclipse
Finally, go to your Eclipse IDE an perform a File -> Import -> Existing Projects into Workspace
and your Play project will be available for importing:
Hope it helps. Cya!
This guide will show you how to create a Python function decorator with a few…
This guide will show you how to fix the error Got permission denied while trying…
This guide will show you how to create a Python virtual environment on Intellij IDEA…
This tutorial will quickly show you how to to find and kill processes on Linux,…
This guide shows a possible solution for Python error Relocation R_X86_64_PC32 against symbol can not…
I condensed below a cheat sheet of Kubernetes useful commands. I will keep updating this…