This plug-in for Sublime Text 2 enables you to:
- Execute SBT commands from the context menu or shortcut
Supported SBT commands are:
- sbt test-only
- sbt run-main
- sbt clean
- sbt update
- sbt compile
Detects Play projects and will run play instead of SBT if found. Finds separate projects if multiple application folders are within a single project.
Download Package Control and use the Package Control: Install Package command from the command palette. Search and select SBTRunner.
Modify the package user settings to include the path of SBT and PLAY.
Right click for context menu or modify the shortcut keys
Keys:
- 'Command' (OSX) = 'Ctrl' (Linux / Windows)
- 'Option' (OSX) = 'Alt' (Linux / Windows)
This plug-in assumes your project folder is organized as a standard SBT project:
- src files would be located in /src/main/scala
- test files would be located in /src/test/scala
and the SBT project files are at the top level of your project