Tools -> Build System -> New Build System
保存为js.sublime-build
{ "cmd": ["node", "$file"], "selector": "source.js" }
hello.js
console.log("hello world");
执行后输出
hello world [Finished in 0.1s]
Tools -> Build System -> New Build System
保存为js.sublime-build
{ "cmd": ["node", "$file"], "selector": "source.js" }
hello.js
console.log("hello world");
执行后输出
hello world [Finished in 0.1s]