2
2

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.

SublimeText2からsbtを操作する

Posted at

いちいちコマンドプロンプトを開くのは面倒なので、SublimeTextからsbtを動かします。

1: sbtをインストール。パスを通す
2: SublimeREPLをインストール
これだけです。

Tools->SublimeRepl->Scala->SBT for opened folder
からSBTを操作できます。

Windowsで動かす場合

Windowsではコマンドを打った後、何も画面に出ません。
色々と調べた結果、sbtのjlineを無効にするといいっぽいです。
Sublime Text 2\Packages\SublimeREPL\SublimeREPL.sublime-settingsからjlineを無効にします

SublimeREPL.sublime-settings
"default_extend_env": {},

SublimeREPL.sublime-settings
"default_extend_env": {"SBT_OPTS": "-Djline.terminal=jline.UnsupportedTerminal"},

へ編集。
これで(多分)動きます。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?