You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request textDocument/hover failed.
Message: [09:43:31.672][error][#0:script.core.hover.description:31]: ...extensions/sumneko.lua-1.11.1/server/script/file-uri.lua:70: attempt to index a nil value (local 'uri')
stack traceback:
...neko.lua-1.11.1/server/script/core\hover\description.lua:31: in upvalue 'asStringInRequire'
...neko.lua-1.11.1/server/script/core\hover\description.lua:77: in function <...neko.lua-1.11.1/server/script/core\hover\description.lua:72>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:96: in function <...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:91>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:158: in function 'core.hover.byUri'
...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:208: in function <...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:196>
[C]: in function 'xpcall'
...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:124: in function <...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:103>
Code: -32603
[Error - 上午9:44:11] Request textDocument/hover failed.
Message: [09:44:10.704][error][#0:script.core.hover.description:31]: ...extensions/sumneko.lua-1.11.1/server/script/file-uri.lua:70: attempt to index a nil value (local 'uri')
stack traceback:
...neko.lua-1.11.1/server/script/core\hover\description.lua:31: in upvalue 'asStringInRequire'
...neko.lua-1.11.1/server/script/core\hover\description.lua:77: in function <...neko.lua-1.11.1/server/script/core\hover\description.lua:72>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:96: in function <...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:91>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:158: in function 'core.hover.byUri'
...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:208: in function <...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:196>
[C]: in function 'xpcall'
...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:124: in function <...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:103>
Code: -32603
[Error - 上午9:44:11] Request textDocument/hover failed.
Message: [09:44:11.000][error][#0:script.core.hover.description:31]: ...extensions/sumneko.lua-1.11.1/server/script/file-uri.lua:70: attempt to index a nil value (local 'uri')
stack traceback:
...neko.lua-1.11.1/server/script/core\hover\description.lua:31: in upvalue 'asStringInRequire'
...neko.lua-1.11.1/server/script/core\hover\description.lua:77: in function <...neko.lua-1.11.1/server/script/core\hover\description.lua:72>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:96: in function <...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:91>
(...tail calls...)
...ons/sumneko.lua-1.11.1/server/script/core\hover/init.lua:158: in function 'core.hover.byUri'
...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:208: in function <...s/sumneko.lua-1.11.1/server/script/provider\provider.lua:196>
[C]: in function 'xpcall'
...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:124: in function <...ensions/sumneko.lua-1.11.1/server/script/proto\proto.lua:103>
Code: -32603
The text was updated successfully, but these errors were encountered:
win10 x64 2016ltsb
vscode 1.52.1 官方便携版
插件 1.11.1 最新版
require 引入的任何包都无法跳转,鼠标悬停在包名上就会报错
下面为了排除其它文件的影响,我新建了一个只有一个 lua 文件的目录测试
补充:如果我提前按下 ctrl 然后直接点击包名,在悬停提示出来之前是可以正常跳转到包文件的
如果悬停提示出来了,就一定会报错,我尝试在配置文件中关闭悬停提示,但是并未生效
测试代码
The text was updated successfully, but these errors were encountered: