LuaHelper icon indicating copy to clipboard operation
LuaHelper copied to clipboard

LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.

Results 158 LuaHelper issues
Sort by recently updated
recently updated
newest added

How can I remove this error for this import ? FFI can be imported by default on LuaJIT. ![image](https://user-images.githubusercontent.com/19154414/185799565-687a5605-e4f7-474e-867c-4b6430b907e2.png)

单例类内部这样定义:XXXData.Instance = self 外部调用:XXXData.Instance:GetRoleLv() 期望是跳转到 GetRoleLv() 方法定义处,但实际总是会跳转到 Instance 定义处。

`goroutine 694 [running]: luahelper-lsp/langserver/check/common.(*DirManager).GetAllCompleFile(0xc000028240, {0xc0001f9230, 0x3}, 0x4, 0x0, 0xc000f8d018) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/common/dir_manager.go:478 +0x7db luahelper-lsp/langserver/check.(*AllProject).CodeCompleteFile(0xc00025e8c0, {0xc0072d2ac0?, 0x1486c90?}, {0x13f1b00, 0x7}, 0x4, {0xc0072d2ae2, 0x18}) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/check_lsp_complete.go:32 +0x166 luahelper-lsp/langserver.(*LspServer).judgeCompeleteFile(0xc000156280, {0xc007231f80, 0x57}, {0xc0061724e0?, 0x182?, 0x1a0?}, 0x3a?) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/textdocument_complete.go:365 +0x613...

I would like to run a `bootstrap.lua` file when running other files. eg. `lua myFile.lua arg1 arg2` should be executed as `lua bootstrap.lua myFile.lua arg1 arg2` I could not find...

当安装了此插件,然后在vscode中打开lua文件时,系统会卡死,查看后发现linuxlualsp这个进程占满了所有CPU核。 插件版本:v0.2.19 系统信息:`Linux debian 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux`

![微信截图_20231125124903](https://github.com/Tencent/LuaHelper/assets/48679770/00761fa0-c2ef-4b3f-b4e4-04519be1d324)

链式调用时,必须所有函数都在同一行调用才会出现提示,如果换行了,只有首行才有提示,换行后的函数调用全部没有提示。 例如 ---@class T local t = {} ---a的注释 ---@return T function t:a () return self end ---b的注释 ---@return T function t:b() returnt self end 然后t:a():b()时,a和b都有提示 但是如果: t:a() :b() 这样的话,就只有a有提示,b没有提示...

launch.json的cwd和luaFileExtension都好好配置的,但一直弹窗“调试器没有找到文件=?.lua”

希望能够提供更加细致的语法高亮,例如: 区分函数参数、for循环参数、local变量、未使用的变量等; 在其他文件调用全局方法仍然能够显示全局方法的高亮颜色(目前会显示全局变量的颜色); 函数的参数提示; 具体可以参考EmmyLua的效果,在同一段代码中感觉EmmyLua提供的高亮信息更加清晰全面,阅读他人代码更加轻松。因为LuaHelper的性能和速览提示非常强大,所以希望能在用户体验上做得更好。