最萌小汐
最萌小汐
> 同文件的lua接口都找不到定义,无法跳转。 请提供截图与演示代码
演示代码只要求能复现问题,并不需要是真实代码 另外推荐你看一下这个:https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
 我这边测试是可以找到定义的。 如果你依然显示无法找到定义,请先检查一下你使用的插件版本(最新版本为v3.3.1),以及插件是否正常启动。 有一种可能是,你安装了多个lua插件,其中我的插件没有正常启动,而其他插件启动了并提供了“转到定义”的按钮,但是却没能找出定义。 你可以在任务管理器里确认一下是否有 "lua-language-server.exe" 这个进程。
> 我这边肯定是lua 是unity+lua 另外据我所知,有一些unity中的lua项目使用的是 `.lua.txt` 作为文件扩展名,VSCode默认是将此类文件识别为 `text` 文件的。 如果你符合此情况,需要在VSCode的“文件关联”设置中将此扩展名设置为 `lua`。
You can build from sourcecode, see https://github.com/sumneko/lua-language-server/wiki/Getting-Started#build
Plugin is used to support custom syntax. For example, some projects will modify the Lua source code to support `continue`, Plugin can modify the text before the language server processing...
You could use plugin for now, see https://github.com/sumneko/lua-language-server/wiki/Plugin
These 3 `"type"` keys are not semantically related, so I search for references by their values.
> Maybe the values make sense on paper but in practice keys are a lot more tied together Unless I do something special for this situation, it won't be able...
> 可以支付宝吗?paypal好难用 已更新支付宝