Scala nature for Play project

瀏覽次數:16 次
跳到第一則未讀訊息

Richard Rodseth

未讀,
2015年2月16日 晚上10:13:372015/2/16
收件者:scala-i...@googlegroups.com
I just started using Play, and while it's nice that compilation errors are shown on the web page, I want syntax checking in the IDE.

But I didn't see any option in the context menu of the project to add the Scala nature.

Just 
Configure -> Convert to JavaScript Project  
Configure -> Convert to Plug-In Project  

Any ideas?

Thanks in advance
Richard

iulian dragos

未讀,
2015年2月17日 清晨5:05:492015/2/17
收件者:scala-i...@googlegroups.com
This should be done already if you exported the project from Play using the `eclipse` command. However, due to historical reasons (i.e., no good reason), the "Add Scala nature" is in the contextual menu under "Scala", not "Configure". Of course, this assumes the Scala IDE plugin is properly installed. Do you have a Scala perspective?

--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CAKH0pS7WHVwn_rR_WVUU7d7gBFXuUKEa0PBbAJ7YZbst1RDH0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Richard Rodseth

未讀,
2015年2月17日 上午10:47:122015/2/17
收件者:scala-i...@googlegroups.com
I do have a Scala perspective and have been developing and debugging non-Play projects. This project was created by someone else and I imported it (probably using Import Existing Maven Project). My Configure menu does not have Scala.

Simon Schäfer

未讀,
2015年2月17日 下午4:03:512015/2/17
收件者:scala-i...@googlegroups.com

On 17.02.2015 16:47, Richard Rodseth wrote:
I do have a Scala perspective and have been developing and debugging non-Play projects. This project was created by someone else and I imported it (probably using Import Existing Maven Project). My Configure menu does not have Scala.
As Iulian said, it is not part of the configure menu, but of the Scala menu (right click on project > Scala > Add Scala nature).

Richard Rodseth

未讀,
2015年2月17日 晚上10:11:072015/2/17
收件者:scala-i...@googlegroups.com
Thank you. At the time I wrote, I don't believe that Scala menu was there.
I re-ran Activator eclipse (which was how my colleague told me he created the project) and it's there now.


回覆所有人
回覆作者
轉寄
0 則新訊息