使用Sublime text 3编译Scala
在sublime工具栏中【tools】->【Build System】->【new Build System】添加如下文本
{ "cmd": ["scalac", "-d", "classes", "$file", "&", "scala", "$file_base_name"], "selector": ["source.scala"], "shell": "true" }
scala和java类似,都是需要先编译src文件成class文件在解释,scalac -d classes "your scala file.scala" & scala "your scala file"