Eclipse IDE
先決條件
Java8(1.8.0_91)- Eclipse neon(JavaScript 和 Web Developer)
- Play Framework 2.5.4
在 Eclipse 中安裝 Scala
- 啟動 Eclipse
- 開啟
Help>Eclipse Marketplace - 在
Find中鍵入Scala - 安裝 Scala IDE
設定 sbteclipse
- 開啟遊戲專案
.\project\ plugins.sbt - 在
plugins.sbt中新增以下命令來轉換 eclipse 專案
addSbtPlugin(“com.typesafe.sbteclipse”%“sbteclipse-plugin”%“4.0.0”)
- 開啟命令然後去玩專案,例如
cd C:\play\play-scala。在命令列鍵入以下內容
啟用日食
匯入專案
- 轉到選單
File>Importin Eclipse - 選擇
Existing Projects into Workspace - 選擇根目錄
現在你的專案已準備好在 Eclipse IDE 中檢視和編輯。