EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.74k stars 292 forks source link

Macros cannot be used in the working directory of the run configuration. #575

Closed Autumn-one closed 8 months ago

Autumn-one commented 8 months ago

Environment(环境)

name version
IDEA version [IntelliJ IDEA 2023.3.2]
EmmyLua version [1.4.11-IDEA231]
OS [Windows11]

I hope to set the working directory in the Lua run configuration template to always be relative to the directory of the running file. This way, I don't need to reset the run configuration for whatever Lua project I open. However, currently, the working directory in the Lua run configuration template does not support macros, so I cannot specify a dynamic path to meet my needs.

image image

CppCXY commented 8 months ago

我的意思是我已经在群里回答过你了, 既然是这样就没必要发这里了, 因为发这里通常也是我回复你,那结果也是一模一样. emmylua的lua application/Lua Remote是不会继续维护的前者是因为jb认为emmylua的attach debugger有毒所以把大部分功能砍掉了, 后者是因为他并非emmylua自己的调试器. 如果你只是想简单启动运行lua脚本, idea-emmylua并不是最好的选择, 我也推荐了vscode的lua-debug插件, 试试你就知道了.