Giorgio
Giorgio

Reputation: 5173

How to create an Eclipse Scala project in typesafe activator?

I have installed typesafe activator, created a project, added my own Scala classes and successfully compiled and run my code.

Now I was looking for a function to eclipsify my project using activator (similarly to what can be done with play) but I cannot find anything neither on the typesafe website nor by searching the internet.

Does activator provide such a function?

Upvotes: 8

Views: 10991

Answers (4)

Deepanshu
Deepanshu

Reputation: 361

You need to build your project once so that it downloads the required sbt plugins.

Easy way to build is using the activator ui. Then in the "Code" tab click on "Build Eclipse project" or activator eclipse from the command line.

Upvotes: 0

lutzh
lutzh

Reputation: 4965

You can do this from the Activator Web UI. After selecting/opening your project, in the "Your application is ready" pop-up select "Code view & Open in IDE". In the following code view there's the "Browse code" column.. to the right of the "Browse code" headline, there's a little gear wheel. That will open a menu that let's you open the project outside of Activator:

Open project in Eclipse

Upvotes: 7

alexkrishnan
alexkrishnan

Reputation: 1185

cd to the directory then type activator eclipse

For more options see here: https://www.playframework.com/documentation/2.3.x/IDE

Upvotes: 16

Azzie
Azzie

Reputation: 366

in SBT type eclipse, in activator select code/edit/eclipse

Upvotes: 2

Related Questions