更新时间:2022-06-16 02:16:04
结果证明有效的答案与第二个答案非常接近 - 显然我不应该打开一个新的 shell.如果有人可以在评论中说明何时设置 "shell": true
,那将非常有帮助.
The answer that worked turned out to be very close to the second answer - apparently I'm not supposed to open up a new shell. If someone can clarify when to set "shell": true
in the comments, that would be really helpful.
{
"cmd": ["/path/to/bin/scala", "$file_name"],
"working_dir": "${project_path:${folder}}",
"selector": "source.scala"
}