Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scala SBT IntelliJ IDEA ScalaTest設定でやったこと
- brew install scala sbt
- mkdir -p scala/Hoge
- cd scala/Hoge
- sbt
- vim build.sbt
- cat build.sbt
name := "Hoge"
version := "0.1"
scalaVersion := "2.9.0-1"
libraryDependencies += "org.scalatest" % "scalatest_2.9.0" % "1.6.1"
- 空行が重要という。。。
- sbt reload
- mkdir -p src/main/scala
- mkdir -p src/test/scala
- IntelliJ IDEAセットアップ
- 設定(preferences)
- Plugins: scalaとsbtのplugin install
- SBT: IDE path: /usr/local/Cellar/sbt/0.10.1/libexec/sbt-launch.jar
- Editor: Allow placement of caret after end of lineのチェックオフ
- Keymap: →Emacs, Backspaceを^Hに
- あとカットコピーペースト
- 設定(File > Project Structure)
- Project: SDK 1.6
- /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment