测试代码:
print(1);
构建
{
"cmd": "lua", "$file",
"file_regex": "^lua: (...*?):([0-9]*):?([0-9]*)",
"selector": "source.lua"
}
输出:
[WinError 2] The system cannot find the file specified
[cmd: ['luajit', 'C:\\Users\\phill\\Desktop\\test.lua']]
[dir: C:\Users\phill\Desktop]
[path: "C:\Program Files (x86)\Lua\5.1"]
[Finished]
它不会构建文件,因为它无法找到它。