在 Sublime Text 3 中,如何安装 Lua 构建系统?
In Sublime Text 3 how do I install the Lua build system?
显然我看过的其他帖子对我不起作用
Lua 安装:无
测试文件:http://prntscr.com/9kr5dv
构建系统:
{
"cmd": ["lua", "$file"],
"file_regex": "^(?:(?:\t)|(?:.+: ))(.+):([0-9]+): (.*)$",
"selector": "source.lua"
}
首选项:
{
"ignored_packages":
[
"Vintage"
]
}
{
"additional_path_items" : ["~/Documents"]
}
- 确保您可以从命令行 运行 lua。
- 确保在 sublime 用户文件夹中创建并保存
.sublime-build
。配置对我来说看起来是正确的。
- 您无需在首选项中进行任何更改。sublime-settings 请确保其中的 json 有效。
毕竟转到你的文件并按 Ctrl + B
它应该可以工作。
显然我看过的其他帖子对我不起作用
Lua 安装:无
测试文件:http://prntscr.com/9kr5dv
构建系统:
{
"cmd": ["lua", "$file"],
"file_regex": "^(?:(?:\t)|(?:.+: ))(.+):([0-9]+): (.*)$",
"selector": "source.lua"
}
首选项:
{
"ignored_packages":
[
"Vintage"
]
}
{
"additional_path_items" : ["~/Documents"]
}
- 确保您可以从命令行 运行 lua。
- 确保在 sublime 用户文件夹中创建并保存
.sublime-build
。配置对我来说看起来是正确的。 - 您无需在首选项中进行任何更改。sublime-settings 请确保其中的 json 有效。
毕竟转到你的文件并按 Ctrl + B
它应该可以工作。