在 Notepad++ 中通过 cmd.exe 运行 Lua

我使用以下方式在 Notepad++ 中运行 Lua 并且它可以工作:

"C:\Program Files\Lua\5.1\lua.exe" "$(FULL_CURRENT_PATH)"

现在我想通过命令提示符在 Notepad++ 中运行 Lua 脚本,如下图所示:

enter image description here

我想要在 Notepad++ 中实现这个目标。

点赞
用户17305858
用户17305858

你可以尝试使用 IntelliJ 并且安装插件 EmmyLua 来代替使用 CMD 或 Notepad 运行 Lua。

这非常易于设置。

下面是 IntelliJ 的外观

2021-11-03 05:09:53