Ctrl+P
只会检查class命名
local foo = class("foo",require("base")) function foo:ctor() foo.super.ctor(self) --如果没有写这个,会提示错误 end
"pyluacheck.checkClass": [ { "name":"Base", "overrideFunc":[ "Ctor","Destroy" ] }, { "name":"UI.BaseUI", "overrideFunc":[ "Ctor","Close" ] }, ]
项目源码