LuaHelper
LuaHelper copied to clipboard
LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.
lua 中使用 require("LuaPanda").start("127.0.0.1", 8818) 未启动vscode 调试时, 出现本地端口不断自增的情况 
如下: ```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))
 启动的时候报这个错误,有些进程我能成功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);