Comments (3)
恩,好的,多谢反馈,这个例子我们会尽快验证并解决
from luahelper.
非常感谢你的反馈
目前最新的0.1.50版本已经修复了上面的bug
注解有很强的推导跟踪功能,你上面的例子可以最简化如下面的:
---@class Cat
local Cat = class()
function Cat:test()
end
---@type table<string, Cat>
local catsMap = {}
function getCatsMap()
return catsMap
end
for catId, catData in pairs(getCatsMap()) do
end
为了验证注解是否生效,鼠标可以放在测试的变量上面,如果弹出的hover框有内容,表示注解生效了
from luahelper.
亲测已修!感谢作者的辛勤,又可以愉快的coding了
from luahelper.
Related Issues (20)
- Configure or Change Autocomplete/Intellisense Behavior
- vscode升级1.82.2后luahelper lua调试功能无法使用 HOT 1
- 语法高亮相关优化
- 一直弹窗“调试器没有找到文件=?.lua”
- debug attach一直显示 Could not load source '=?'
- 用不了了。。。如图,启动就报错 HOT 3
- 链式调用时,函数提示有问题
- Bootstrap file at start
- 出现报错无法使用 HOT 1
- 返回泛型数组是否不支持 HOT 1
- import文件跳转 HOT 3
- luahelper 作为一个 批量处理 lua 代码的 cli 应用程序 HOT 2
- 能否支持自定义的require关键字 HOT 1
- Additional folders
- 无法加载源""
- debug时如何方便的调整lua版本
- 可以支持Lua5.1、LuaJIT中的module的跳转吗? HOT 2
- how to debug a program and supply arguments ? HOT 1
- ejoy2d lua调试功能混乱,断点不命中 HOT 1
- 插件好像不支持 setmetatable 的元表跳转,啥时候能更新一下这个呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luahelper.