LoginSignup
9

More than 5 years have passed since last update.

Play2をIntelliJで使う

Last updated at Posted at 2012-06-08

sbtを使ってsbt-ideaをインストールして、sbt-ideaでIntelliJの設定ファイルを作成すればいい。

$ play new App
$ cd App
$ vi project/plugins.sbt

以下を追加

plugins.sbt
resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/"

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0")

再びコマンド

$ sbt
$ update
$ idea
$ gen-idea

あとはIntelliJ側でプロジェクト追加するか、IntelliJで作ったideaコマンドを使えばOK。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9