3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Sublime TextでScalaを実行する

Last updated at Posted at 2015-03-04

スクリーンショット 2015-03-05 3.01.34 AM.png

Tools -> Build System -> New Build Systemを選択
下記を入力。/usr/local/bin/scalaの箇所は各々のscalaのパスに置き換えてください

scala.sublime-build
{
    "cmd": ["/usr/local/bin/scala", "$file"],
    "working_dir": "${project_path:${folder}}",
    "selector": "source.scala"
}

あとはscala.sublime-buildとか名前をつけてセーブするとBuild Systemの選択肢にでてくるので、そこで選択して[Command + B]で実行できる

3
3
0

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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?