EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.75k stars 292 forks source link

代理_G后,无代码提示 #375

Open zxcl3589 opened 4 years ago

zxcl3589 commented 4 years ago

Environment(环境)

name version
IDEA version [e.g. IC2020.1.2 EAP, CL2020.1.2]
EmmyLua version [e.g. v1.3.4.157-IDEA202]
OS [e.g. OSX 10.13.4, Windows 10]

What are the steps to reproduce this issue?(重现步骤?)

What happens?(出现什么问题?)

luafile1: ---@type _G local Gb = {} _G.Gb = Gb luafile2: Gb.test = 10 luafile3: 直接使用 test 无代码补全

What were you expecting to happen?(期望?)

希望_G被代理后,能快速补全,和直接设置全局变量有一样的补全

Any logs, error output, etc?(有没有什么log, error输出?)

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Any other comments?(其它说明)