Attention:
前提、前提、前提:电脑上安装scala和jdk,可以在cmd中运行scala命令:
okay,next:
1.配置内容
在Tools->Build Systems->New Build System, 输入一下以下内容:
{
"cmd": ["scala", "$file"],
"selector": ["source.scala"],
"shell": "true"
}
2.保存路径:
C:\***ur install directory***\Sublime Text 2\Packages\User
3.保存文件名:
scala.sublime-build
well done.
ctl+b(快捷键运行)
时间: 2024-12-14 22:05:34