https://www.jianshu.com/p/b976b3c7b154
亲测在Sublime Text 3上可以
Tools -> Build System -> New Build System...
Enter the below text in the new file
Save the file as "nodejs.sublime-build"
{
"shell_cmd": "node ${file}",
"selector" : "source.js"
}
Prerequisite is to have node.js installed
作者:童星
链接:https://www.jianshu.com/p/b976b3c7b154
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。