lua-language-server
lua-language-server copied to clipboard
内置的第三方库失效
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
MacOS
What is the issue affecting?
Libraries
Expected Behaviour
require "string"
require "resty.core.base"
VSCODE无法读取内置的文件
Actual Behaviour
Reproduction steps
但是require的时候是有提示的,这个问题我不知道该如何去定位
Additional Notes
No response
Log File
我尝试了所有的内置库,除了skynet,其他任何文件名带有.
的都不认
---ok
require "skynet.debug" --skynet.debug.lua
require "ngx“ --ngx.lua
--error
require "cc.data" --cc.data.lua
require "table.clear" --table.clear.lua
\一直在提示第三方库,自动检测已经关闭
"Lua.workspace.checkThirdParty": false
@sumneko looking at 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 I see that files in ./meta/3rd were renamed from a.b.c.lua
to a/b/c.lua
. Should I rename all of my annotations like this as well?