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

lua 中使用 require("LuaPanda").start("127.0.0.1", 8818) 未启动vscode 调试时, 出现本地端口不断自增的情况 ![image](https://user-images.githubusercontent.com/33596170/196400823-2efeaf8d-53d3-4590-b574-79f5a4bbc2e3.png)

如下: ```json { "capabilities": { // ...omitted... "executeCommandProvider": { "commands": null }, // ...omitted... }, "serverInfo": { "name": "" } } ``` 根据[lsp的文档](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions),commands应当为一个数组。此处返回null会导致有些lsp client初始化失败(例如[helix](https://github.com/helix-editor/helix) 用到的 [lsp-types](https://github.com/gluon-lang/lsp-types))

![POPO-20240507-182537](https://github.com/Tencent/LuaHelper/assets/55172226/02308d93-2ef7-4939-bea4-1acbe89555e0) 启动的时候报这个错误,有些进程我能成功debugger,有些进程一直报这个,这是为啥,我该如何解决,我确定我配置是正确的

Is there any way to add some additional folders that are outside of the main project? My use-case is that I have the API defitinitions in a specific path which...

有的项目使用自定的require功能,可能定义成include、requireEx等

项目封装了import函数,定义一个ImportXXX(path)函数来加载模块,按住ctrl无法识别文件路径,导致无法跳转,有办法支持这种么?

add support for macos arm64

你好,luahelper 社区。 luahelper 是否能够将一些 可批处理的 功能,编译成一个 lua 的类静态代码 分析器。 例如,https://github.com/JohnnyMorganz/StyLua stylua 就可以单独 cli 形态运行,这样方便在 githook 时 批处理 lua 文件。

```lua ---@generic T ---@param param1 T ---@return T[] local function test_one(param1) end local a = test_one(xxxx) -- 此处的a提示的是T[]类型,而非真正传进去xxxx的数组类型

我在init.lua头部加入了 package.cpath=package.cpath..";D:/GameEngine/ejoy2d/ejoy2d/?.dll;" package.path = package.path ..";D:/GameEngine/ejoy2d/ejoy2d/?.lua;D:/GameEngine/ejoy2d/examples/?.lua" require("LuaPanda").start("127.0.0.1", 8818);